Fix the app_languages include and remove an extra char from the variable name.

This commit is contained in:
Mark Crane
2012-10-08 23:15:31 +00:00
parent cca6c40e66
commit d2590a08ad
2 changed files with 3 additions and 2 deletions

View File

@@ -36,7 +36,8 @@ else {
require_once "includes/header.php";
require_once "includes/paging.php";
//prepare the languages
//add multi-lingual support
require_once "app_languages.php";
foreach($content_fax as $key => $value) {
$content_fax[$key] = $value[$_SESSION['domain']['language']['code']];
}

View File

@@ -548,7 +548,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='fax_destination_number' maxlength='255' value=\"$fax_destination_number\">\n";
echo "<br />\n";
echo " ".$content_fax['description-destinationa-number']."\n";
echo " ".$content_fax['description-destination-number']."\n";
echo "Enter the fax destination number.\n";
echo "</td>\n";
echo "</tr>\n";