Permalink
Browse files

Code refactory, more readable

Code refactory, more readable
  • Loading branch information...
1 parent 6410cdd commit 577b9e42e2c07dc4498117e1934ee7a02ad90a3d @blanchonvincent blanchonvincent committed Oct 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 library/Zend/I18n/Translator/Loader/Ini.php
@@ -58,9 +58,9 @@ public function load($locale, $filename)
}
if(isset($message['message']) && isset($message['translation'])) {
$messages[$message['message']] = $message['translation'];
- } else {
- $messages[array_shift($message)] = array_shift($message);
+ continue;
}
+ $messages[array_shift($message)] = array_shift($message);
}
if (!is_array($messages)) {

0 comments on commit 577b9e4

Please sign in to comment.