- replaced last two $current occurences with $_SESSION['current']

This commit is contained in:
Jonathan Ernst
2004-12-12 22:22:21 +00:00
committed by WineHQ
parent 8cd5ecf3f9
commit e5a9965670
2 changed files with 2 additions and 2 deletions

View File

@@ -269,7 +269,7 @@ if($appId && !$versionId)
apidb_sidebar_add("vote_menu");
// show Admin Menu
if(loggedin() && (havepriv("admin") || $current->ownsApp($appId)))
if(loggedin() && (havepriv("admin") || $_SESSION['current']->ownsApp($appId)))
apidb_sidebar_add("admin_menu");
// header