mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fixed not working link_query call to static callback eg. "someclass::somemethod"
This commit is contained in:
parent
cff42abd07
commit
f185382b0a
@ -595,7 +595,7 @@ class egw_link extends solink
|
|||||||
}
|
}
|
||||||
if(is_callable($method)) // php5.3+ call
|
if(is_callable($method)) // php5.3+ call
|
||||||
{
|
{
|
||||||
$result = $method($pattern,$options);
|
$result = call_user_func($method,$pattern,$options);
|
||||||
}
|
}
|
||||||
elseif(is_object($obj) && method_exists($obj,$method))
|
elseif(is_object($obj) && method_exists($obj,$method))
|
||||||
{
|
{
|
||||||
@ -910,7 +910,7 @@ class egw_link extends solink
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
error_log(__METHOD__."($app,$id,$file,$comment) Can't mkdir $entry_dir!");
|
error_log(__METHOD__."($app,$id,".array2string($file).",$comment) Can't mkdir $entry_dir!");
|
||||||
}
|
}
|
||||||
return $Ok ? -$stat['ino'] : false;
|
return $Ok ? -$stat['ino'] : false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user