From e69e6bc64ec69ff36af7c6498c8c90ceb3d40fab Mon Sep 17 00:00:00 2001 From: justin Date: Tue, 13 Jul 2010 01:03:39 +0000 Subject: [PATCH] fix prize saving so the description is actually saved (issue 478) --- admin/award_awards.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/award_awards.php b/admin/award_awards.php index a12c2c0..32c15e1 100644 --- a/admin/award_awards.php +++ b/admin/award_awards.php @@ -216,7 +216,7 @@ case 'prize_save': $id = intval($_POST['id']); $q="UPDATE award_prizes SET - prize='".mysql_escape_string(stripslashes("UTF-8","ISO-8859-1",$_POST['prize']))."', + prize='".mysql_escape_string(stripslashes($_POST['prize']))."', cash='".intval($_POST['cash'])."', scholarship='".intval($_POST['scholarship'])."', value='".intval($_POST['value'])."',