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:07:58 +00:00
parent 003d1c1c94
commit 71c52d4e43

View File

@ -1575,7 +1575,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) * @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) * @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 (self::LOG_LEVEL > 1) error_log(__METHOD__."(".array2string($path).','.array2string($props));
if (!is_numeric($path)) if (!is_numeric($path))