From: Robin Appelman Date: Fri, 21 Oct 2011 13:17:39 +0000 (+0200) Subject: pass paramters to file proxies by reference so they can be modified X-Git-Tag: v4.0.0beta~440^2~79 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b6ed61eab2fce2de3653b376bef0eeddd431562a;p=nextcloud-server.git pass paramters to file proxies by reference so they can be modified --- diff --git a/lib/fileproxy.php b/lib/fileproxy.php index 235fc8bf284..7e0722b960e 100644 --- a/lib/fileproxy.php +++ b/lib/fileproxy.php @@ -88,11 +88,11 @@ class OC_FileProxy{ $operation='pre'.$operation; foreach($proxies as $proxy){ if($filepath2){ - if(!$proxy->$operation($filepath,$filepath2)){ + if(!$proxy->$operation(&$filepath,&$filepath2)){ return false; } }else{ - if(!$proxy->$operation($filepath)){ + if(!$proxy->$operation(&$filepath)){ return false; } }