From da46055fac6db180f81c21f79bcce0da8b43f714 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 14 Dec 2010 12:47:07 +0000 Subject: [PATCH] Fix for r78322, check $result not $value --- includes/BagOStuff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /** -- 2.20.1