- Fix an instance where we rely on register_globals to be on

This commit is contained in:
dave 2007-04-03 19:53:30 +00:00
parent 526db97052
commit 35ccf2a2ad

View File

@ -101,7 +101,7 @@
echo happy("Contact successfully deleted");
}
if($_GET['action']=="edit" || $action=="add")
if($_GET['action']=="edit" || $_GET['action']=="add")
{
echo "<a href=\"award_prizes.php?award_awards_id=$award_awards_id\">&lt;&lt; ".i18n("Back to Prizes for %1",array($award->name))."</a>\n";
@ -114,7 +114,7 @@
$q=mysql_query("SELECT * FROM award_prizes WHERE id='".$_GET['edit']."'");
$r=mysql_fetch_object($q);
}
else if($action=="add")
else if($_GET['action']=="add")
{
echo "<h3>".i18n("Add Prize for %1",array($award->name))."</h3>\n";
$buttontext="Add Prize";