Explorar o código

fixed minor bug with user_languages in help documents

Luke Ehresman %!s(int64=25) %!d(string=hai) anos
pai
achega
47d91d317c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/help.php

+ 3 - 0
src/help.php

@@ -112,6 +112,7 @@
    
    if (file_exists("../help/$squirrelmail_language")) {
       $help_exists = true;
+      $user_language = $squirrelmail_language;
    } else if (file_exists("../help/en")) {
       $help_exists = true;
       echo "<center><font color=\"$color[2]\">";
@@ -123,6 +124,8 @@
       echo "<br><center><font color=\"$color[2]\">";
       echo _("Some or all of the help documents are not present!");
       echo "</font></center>";
+      echo "</td></tr></table>";
+      exit;
    }
    
    if ($help_exists) {