Fix variable name (follows Ib2c5856d)
authorOri Livneh <ori@wikimedia.org>
Mon, 13 Jul 2015 07:26:44 +0000 (00:26 -0700)
committerOri.livneh <ori@wikimedia.org>
Mon, 13 Jul 2015 07:27:39 +0000 (07:27 +0000)
Change-Id: I1c673110e35daa6d5e382fad0fd99d6e4daa9f73

includes/cache/LCStoreStaticArray.php

index 6a597ca..fff9bab 100644 (file)
@@ -79,7 +79,7 @@ class LCStoreStaticArray implements LCStore {
                        // [A]rray
                        return array( 'a', array_map( function ( $v ) {
                                return LCStoreStaticArray::encode( $v );
-                       }, $data ) );
+                       }, $value ) );
                }
 
                throw new RuntimeException( 'Cannot encode ' . var_export( $value, true ) );