From e45db597a510be3c5ecb34474f90b0815d80d604 Mon Sep 17 00:00:00 2001 From: Franky Van Liedekerke Date: Fri, 12 Aug 2016 13:39:02 +0200 Subject: [PATCH] Fix get-call for apccache Otherwise a php notice pops up (Notice: Only variable references should be returned by reference) and civicrm doesn't even load then ... --- CRM/Utils/Cache/APCcache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Cache/APCcache.php b/CRM/Utils/Cache/APCcache.php index 801e3f220a..967507554d 100644 --- a/CRM/Utils/Cache/APCcache.php +++ b/CRM/Utils/Cache/APCcache.php @@ -87,7 +87,7 @@ class CRM_Utils_Cache_APCcache implements CRM_Utils_Cache_Interface { * * @return mixed */ - public function &get($key) { + public function get($key) { return apc_fetch($this->_prefix . $key); } -- 2.25.1