forked from science-ation/science-ation
Fix postback field on award update
This commit is contained in:
parent
c7a3628f4a
commit
4917bc3a75
@ -104,13 +104,14 @@
|
||||
award_sponsors_id='$sponsor_id',
|
||||
name='".mysql_escape_string($award['name_en'][0])."',
|
||||
criteria='".mysql_escape_string($award['criteria_en'][0])."',
|
||||
postback='".mysql_escape_string($postback)."'
|
||||
external_postback='".mysql_escape_string($postback)."'
|
||||
WHERE
|
||||
id='$awardrecord->id'
|
||||
AND external_identifier='".mysql_escape_string($identifier)."'
|
||||
AND year='$year'
|
||||
");
|
||||
|
||||
echo mysql_error();
|
||||
//update the prizes
|
||||
if(is_array($award['prizes'][0]) && count($award['prizes'][0]['prize']>0))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user