Fix for r78322, check $result not $value

This commit is contained in:
Chad Horohoe 2010-12-14 12:47:07 +00:00
parent 0617614722
commit da46055fac

View 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;
}
/**