diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index b3a3d2ed89..31337fe664 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -35,7 +35,7 @@ else { exit; } -if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")){ +if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")) { require_once "app/billing/resources/functions/currency.php"; require_once "app/billing/resources/functions/rating.php"; } @@ -709,6 +709,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; echo "
\n"; echo $text['description-accountcode']."\n"; + if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")){ + echo " ".$text['billing-warning']; + } echo "\n"; echo "\n"; @@ -757,7 +760,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " "; echo ""; echo ""; - echo "

".$text['billing-warning']."

"; + //include the footer require_once "resources/footer.php"; ?>