From 8fd6abd408084bfb6a7f0c9dc974be523b018773 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 10 Nov 2011 13:14:52 +0000 Subject: [PATCH] correct variable name This is caused by r102640, I have moved some code to a new function and forgot to rename the internal variable name to match the function parameter. --- includes/LocalisationCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/LocalisationCache.php b/includes/LocalisationCache.php index ffea229e7f..10f5ca7f12 100644 --- a/includes/LocalisationCache.php +++ b/includes/LocalisationCache.php @@ -731,10 +731,10 @@ class LocalisationCache { wfProfileOut( __METHOD__ ); return; } - + # Save to the persistent cache $this->store->startWrite( $code ); - foreach ( $allData as $key => $value ) { + foreach ( $data as $key => $value ) { if ( in_array( $key, self::$splitKeys ) ) { foreach ( $value as $subkey => $subvalue ) { $this->store->set( "$key:$subkey", $subvalue ); -- 2.20.1