Revert r78000 (removing PHP version from environment checks), never got a chance...
[lhc/web/wiklou.git] / includes / BagOStuff.php
index 6b93301..7f40001 100644 (file)
@@ -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;
        }
 
        /**