From c70ff2e069dcc29beeb20cc584d55b4825ca2528 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 15 Feb 2010 06:02:36 +0000 Subject: [PATCH] fixed a strange PHP5.3 problem, it seems call_user_func_array fails returning NULL for a static method with a var parameter --- phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php b/phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php index 4b0d3cedae..10cd385577 100644 --- a/phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php +++ b/phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php @@ -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))