fixed a strange PHP5.3 problem, it seems call_user_func_array fails returning NULL for a static method with a var parameter

This commit is contained in:
Ralf Becker 2010-02-15 06:02:36 +00:00
parent dbeb104ed5
commit c70ff2e069

View File

@ -1679,7 +1679,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
* @param array $props array or array with values for keys 'name', 'ns', 'val' (null to delete the prop)
* @return boolean true if props are updated, false otherwise (eg. ressource not found)
*/
static function proppatch($path,array &$props)
static function proppatch($path,array $props)
{
if (self::LOG_LEVEL > 1) error_log(__METHOD__."(".array2string($path).','.array2string($props));
if (!is_numeric($path))