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

@@ -156,7 +156,7 @@ function rating_update($vars)
return;
}
$userId = $_SESSION[current]->userid;
$userId = $_SESSION['current']->userid;
$versionId = $vars["versionId"];
$score_w = $vars["score_w"];
$score_f = $vars["score_f"];