Browse Source

fixed minor bug with user_languages in help documents

Luke Ehresman 25 years ago
parent
commit
47d91d317c
1 changed files with 3 additions and 0 deletions
  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) {