浏览代码

fixed minor bug with user_languages in help documents

Luke Ehresman 25 年之前
父节点
当前提交
47d91d317c
共有 1 个文件被更改,包括 3 次插入0 次删除
  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) {