From 85281f720ad998070a8b3bffc42f5b13863f76b5 Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Mon, 30 Nov 2009 02:41:22 +0000 Subject: [PATCH] Fixed issue #3880: Error at wrong admin input for "Reminder count" git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8012 b72ed6b6-b9f8-46b5-92b4-906544132732 --- admin/tokens.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/tokens.php b/admin/tokens.php index 057b0f80b9a..4d7dee532f0 100644 --- a/admin/tokens.php +++ b/admin/tokens.php @@ -2024,7 +2024,7 @@ $data[] = $_POST['validfrom']; $data[] = $_POST['validuntil']; $data[] = $_POST['remindersent']; - $data[] = $_POST['remindercount']; + $data[] = intval($_POST['remindercount']); $udresult = $connect->Execute("Select * from ".db_table_name("tokens_$surveyid")." where tid<>{$tokenid} and token<>'' and token='{$santitizedtoken}'") or safe_die ("Update record {$tokenid} failed:
\n$udquery
\n".$connect->ErrorMsg()); if ($udresult->RecordCount()==0)