forked from science-ation/science-ation
fix prize saving so the description is actually saved (issue 478)
This commit is contained in:
parent
4a148a415f
commit
e69e6bc64e
@ -216,7 +216,7 @@
|
|||||||
case 'prize_save':
|
case 'prize_save':
|
||||||
$id = intval($_POST['id']);
|
$id = intval($_POST['id']);
|
||||||
$q="UPDATE award_prizes SET
|
$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'])."',
|
cash='".intval($_POST['cash'])."',
|
||||||
scholarship='".intval($_POST['scholarship'])."',
|
scholarship='".intval($_POST['scholarship'])."',
|
||||||
value='".intval($_POST['value'])."',
|
value='".intval($_POST['value'])."',
|
||||||
|
Loading…
Reference in New Issue
Block a user