Skip to content

Commit 103f0a3

Browse files
colinmollenhourtmotyl
authored andcommitted
Fix error saving local cache in OpenMage#918
1 parent 5db36e7 commit 103f0a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Zend/Locale/Data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ public static function getList($locale, $path, $value = false)
966966
} else {
967967
self::$_cache->save( $data, $id);
968968
}
969-
static::$_localCache['id'] = $data;
969+
static::$_localCache[$id] = $data;
970970
}
971971

972972
return $temp;
@@ -1523,7 +1523,7 @@ public static function getContent($locale, $path, $value = false)
15231523
} else {
15241524
self::$_cache->save( $data, $id);
15251525
}
1526-
static::$_localCache['id'] = $data;
1526+
static::$_localCache[$id] = $data;
15271527
}
15281528

15291529
return $temp;

0 commit comments

Comments
 (0)