From d6d50baa9e8cf93c9c16f1d1fd46e9bd99a3bcec Mon Sep 17 00:00:00 2001 From: timriker Date: Fri, 6 May 2005 19:29:42 +0000 Subject: [PATCH] old mysql/sqlite don't do +1 git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1217 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Factoids/Question.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blootbot/src/Factoids/Question.pl b/blootbot/src/Factoids/Question.pl index db7da14..4e4c949 100644 --- a/blootbot/src/Factoids/Question.pl +++ b/blootbot/src/Factoids/Question.pl @@ -238,7 +238,7 @@ sub factoidArgs { } # update stats. old mysql/sqlite don't do +1 - my ($count) = &sqlSelect("factoids", "requested_count", { factoid_key => $factoid }); + my ($count) = &sqlSelect("factoids", "requested_count", { factoid_key => $q }); $count++; &sqlSet("factoids", {'factoid_key' => $q}, { requested_by => $nuh, -- 2.39.2