projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a686f
)
Fix get-call for apccache
author
Franky Van Liedekerke
<liedekef@telenet.be>
Fri, 12 Aug 2016 11:39:02 +0000
(13:39 +0200)
committer
GitHub
<noreply@github.com>
Fri, 12 Aug 2016 11:39:02 +0000
(13:39 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Cache/APCcache.php
b/CRM/Utils/Cache/APCcache.php
index 801e3f220ae9efdf1fb32f74ec561bd4b14c14de..967507554d8a9be1684bac02fef96bc82693426c 100644
(file)
--- 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);
}