forked from science-ation/science-ation
- Fix an instance where we rely on register_globals to be on
This commit is contained in:
parent
526db97052
commit
35ccf2a2ad
@ -101,7 +101,7 @@
|
|||||||
echo happy("Contact successfully deleted");
|
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\"><< ".i18n("Back to Prizes for %1",array($award->name))."</a>\n";
|
echo "<a href=\"award_prizes.php?award_awards_id=$award_awards_id\"><< ".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']."'");
|
$q=mysql_query("SELECT * FROM award_prizes WHERE id='".$_GET['edit']."'");
|
||||||
$r=mysql_fetch_object($q);
|
$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";
|
echo "<h3>".i18n("Add Prize for %1",array($award->name))."</h3>\n";
|
||||||
$buttontext="Add Prize";
|
$buttontext="Add Prize";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user