From: Chad Horohoe Date: Tue, 14 Dec 2010 12:47:07 +0000 (+0000) Subject: Fix for r78322, check $result not $value X-Git-Tag: 1.31.0-rc.0~33315 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=da46055fac6db180f81c21f79bcce0da8b43f714;p=lhc%2Fweb%2Fwiklou.git Fix for r78322, check $result not $value --- diff --git a/includes/BagOStuff.php b/includes/BagOStuff.php index 6b933014e7..7f40001333 100644 --- a/includes/BagOStuff.php +++ b/includes/BagOStuff.php @@ -867,7 +867,7 @@ class WinCacheBagOStuff extends BagOStuff { /* wincache_ucache_set returns an empty array on success if $value was an array, bool otherwise */ - return ( is_array( $value ) && $result === array() ) || $result; + return ( is_array( $result ) && $result === array() ) || $result; } /**