Fix url::canEdit() to not call undefined functions
This commit is contained in:
committed by
WineHQ
parent
20ebe74913
commit
a309317347
@@ -903,6 +903,8 @@ class Application {
|
||||
{
|
||||
if($_SESSION['current']->hasPriv("admin"))
|
||||
return TRUE;
|
||||
else if($this)
|
||||
return maintainer::isUserSuperMaintainer($_SESSION['current'], $this->iAppId);
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user