plugins/SpecialUserFuncs.php
changeset 782 96848f04bbba
parent 743 0acb5d0f8328
child 799 4629ad98ee88
--- a/plugins/SpecialUserFuncs.php	Sun Dec 21 16:56:38 2008 -0500
+++ b/plugins/SpecialUserFuncs.php	Sun Dec 21 17:25:28 2008 -0500
@@ -2152,6 +2152,8 @@
     $lang_local =& $lang;
   else
     $lang_local = new Language($lang_id);
+    
+  $lang_local->get('meta_meta');
   
   $lang_strings = enano_json_encode($lang_local->strings);
   $etag = substr(sha1($lang_strings), 0, 20) . '-' . dechex($lang_local->lang_timestamp);
@@ -2179,7 +2181,7 @@
   echo "if ( typeof(enano_lang) != 'object' )
   var enano_lang = new Object();
 
-enano_lang[{$lang->lang_id}] = " . $lang_strings . ";";
+enano_lang[{$lang_local->lang_id}] = " . $lang_strings . ";";
 
   gzip_output();