From 4917bc3a7556068bda972f2449b463adede54d6e Mon Sep 17 00:00:00 2001 From: james Date: Tue, 27 Nov 2007 23:02:40 +0000 Subject: [PATCH] Fix postback field on award update --- admin/award_download.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/award_download.php b/admin/award_download.php index d8491bb..c6c28ad 100644 --- a/admin/award_download.php +++ b/admin/award_download.php @@ -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)) {