Explorar o código

missed one unuglyfied if

antipode %!s(int64=23) %!d(string=hai) anos
pai
achega
dd2df51b97
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      functions/gettext.php

+ 3 - 2
functions/gettext.php

@@ -79,10 +79,11 @@ function gettext_php_load_strings() {
     $key = '';
     $SkipRead = false;
     while (! feof($file)) {
-        if (! $SkipRead)
+        if (! $SkipRead) {
             $line = trim(fgets($file, 4096));
-        else
+        } else {
             $SkipRead = false;
+        }
         
         if (ereg('^msgid "(.*)"$', $line, $match)) {
             if ($match[1] == '') {