Array keys should be quoted

This commit is contained in:
Paul van Schayck
2004-12-18 01:51:56 +00:00
committed by WineHQ
parent 29f6b75292
commit 5a27f7ba35
3 changed files with 4 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ else if (isset($_REQUEST['apptype']))
{
// set email field if logged in
if (loggedin())
$email = $_SESSION[current]->lookup_email($_SESSION[current]->userid);
$email = $_SESSION['current']->lookup_email($_SESSION['current']->userid);
// header
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";
# NEW APPLICATION
if ($_REQUEST[apptype] == 1)
if ($_REQUEST['apptype'] == 1)
{
echo html_frame_start("New Application Form",400,"",0);
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";