From b6ed61eab2fce2de3653b376bef0eeddd431562a Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 21 Oct 2011 15:17:39 +0200 Subject: [PATCH] pass paramters to file proxies by reference so they can be modified --- lib/fileproxy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fileproxy.php b/lib/fileproxy.php index 235fc8bf28..7e0722b960 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; } }