fixed minor bug with user_languages in help documents
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 31 Jul 2000 14:33:38 +0000 (14:33 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 31 Jul 2000 14:33:38 +0000 (14:33 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@657 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/help.php

index 3b1e623..aa0647f 100644 (file)
    
    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]\">";
       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) {