Index: trunk/phase3/includes/MessageCache.php |
— | — | @@ -174,9 +174,9 @@ |
175 | 175 | |
176 | 176 | fwrite($file,"<?php\n//$hash\n\n \$this->mCache = array("); |
177 | 177 | |
178 | | - foreach ($array as $key => $message) { |
| 178 | + foreach ( $array as $key => $message ) { |
179 | 179 | $key = $this->escapeForScript($key); |
180 | | - $messages = $this->escapeForScript($message); |
| 180 | + $message = $this->escapeForScript($message); |
181 | 181 | fwrite($file, "'$key' => '$message',\n"); |
182 | 182 | } |
183 | 183 | |