hidden bug fixed
This commit is contained in:
parent
35ae7720d5
commit
bb5fe86f14
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ class Alib extends Subjects{
|
||||||
function checkPerm($sid, $action, $oid=NULL)
|
function checkPerm($sid, $action, $oid=NULL)
|
||||||
{
|
{
|
||||||
if(!is_numeric($sid)) return FALSE;
|
if(!is_numeric($sid)) return FALSE;
|
||||||
if(is_null($oid) or $oid=='') $oid = $this->getObjId($this->RootNode);
|
if(is_null($oid) or $oid=='') $oid = $this->getRootNode();
|
||||||
if(PEAR::isError($oid)) return $oid;
|
if(PEAR::isError($oid)) return $oid;
|
||||||
if(!is_numeric($oid)) return FALSE;
|
if(!is_numeric($oid)) return FALSE;
|
||||||
// query construction
|
// query construction
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue