fixed not working link_query call to static callback eg. "someclass::somemethod"

This commit is contained in:
Ralf Becker 2010-07-29 19:09:55 +00:00
parent cff42abd07
commit f185382b0a

View File

@ -595,7 +595,7 @@ class egw_link extends solink
}
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))
{
@ -910,7 +910,7 @@ class egw_link extends solink
}
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;
}