diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-10-21 15:17:39 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-21 20:48:47 +0100 |
commit | b6ed61eab2fce2de3653b376bef0eeddd431562a (patch) | |
tree | 1555135e9133587c977a773ae6b9648fe2464f4e /lib/fileproxy.php | |
parent | 86d2927c02c09d6642268891e995bf9d0a11782c (diff) | |
download | nextcloud-server-b6ed61eab2fce2de3653b376bef0eeddd431562a.tar.gz nextcloud-server-b6ed61eab2fce2de3653b376bef0eeddd431562a.zip |
pass paramters to file proxies by reference so they can be modified
Diffstat (limited to 'lib/fileproxy.php')
-rw-r--r-- | lib/fileproxy.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |