diff --git a/admin/award_download.php b/admin/award_download.php
index 6e048c6..d93ae0e 100644
--- a/admin/award_download.php
+++ b/admin/award_download.php
@@ -191,10 +191,15 @@ case 'check':
value='".intval($prize['value'])."',
prize='".mysql_escape_string($prize['prize_en'])."',
number='".intval($prize['number'])."',
- `order`='".intval($prize['ord'])."'
+ `order`='".intval($prize['ord'])."',
+ trophystudentkeeper='".intval($prize['trophystudentkeeper'])."',
+ trophystudentreturn='".intval($prize['trophystudentreturn'])."',
+ trophyschoolkeeper='".intval($prize['trophyschoolkeeper '])."',
+ trophyschoolreturn='".intval($prize['trophyschoolreturn'])."'
WHERE
id='$prize_id'");
+ echo mysql_error();
//FIXME: update the translations
}
@@ -202,6 +207,7 @@ case 'check':
foreach($existingprizes AS $ep) {
echo " ".i18n("Removing prize %1",array($ep['prize']))."
";
mysql_query("DELETE FROM award_prizes WHERE id='{$ep['id']}'");
+ echo mysql_error();
}
}
echo "
";