Array keys should be quoted
This commit is contained in:
@@ -114,7 +114,7 @@ else if (isset($_REQUEST['apptype']))
|
|||||||
{
|
{
|
||||||
// set email field if logged in
|
// set email field if logged in
|
||||||
if (loggedin())
|
if (loggedin())
|
||||||
$email = $_SESSION[current]->lookup_email($_SESSION[current]->userid);
|
$email = $_SESSION['current']->lookup_email($_SESSION['current']->userid);
|
||||||
|
|
||||||
// header
|
// header
|
||||||
apidb_header("Submit Application");
|
apidb_header("Submit Application");
|
||||||
@@ -133,7 +133,7 @@ else if (isset($_REQUEST['apptype']))
|
|||||||
echo "<a href='mailto:appdb@winehq.org'>appdb@winehq.org</a></p>\n";
|
echo "<a href='mailto:appdb@winehq.org'>appdb@winehq.org</a></p>\n";
|
||||||
|
|
||||||
# NEW APPLICATION
|
# NEW APPLICATION
|
||||||
if ($_REQUEST[apptype] == 1)
|
if ($_REQUEST['apptype'] == 1)
|
||||||
{
|
{
|
||||||
echo html_frame_start("New Application Form",400,"",0);
|
echo html_frame_start("New Application Form",400,"",0);
|
||||||
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
|
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ function admin_menu()
|
|||||||
global $apidb_root;
|
global $apidb_root;
|
||||||
|
|
||||||
$m = new htmlmenu("Admin");
|
$m = new htmlmenu("Admin");
|
||||||
if($_REQUEST[versionId]) {
|
if($_REQUEST['versionId']) {
|
||||||
$m->add("Add Note", $apidb_root."admin/addAppNote.php?appId=$appId&versionId=".$_REQUEST['versionId']);
|
$m->add("Add Note", $apidb_root."admin/addAppNote.php?appId=$appId&versionId=".$_REQUEST['versionId']);
|
||||||
$m->addmisc(" ");
|
$m->addmisc(" ");
|
||||||
|
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ function rating_update($vars)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$userId = $_SESSION[current]->userid;
|
$userId = $_SESSION['current']->userid;
|
||||||
$versionId = $vars["versionId"];
|
$versionId = $vars["versionId"];
|
||||||
$score_w = $vars["score_w"];
|
$score_w = $vars["score_w"];
|
||||||
$score_f = $vars["score_f"];
|
$score_f = $vars["score_f"];
|
||||||
|
|||||||
Reference in New Issue
Block a user