diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 33bcee9357..2346d23e97 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -957,6 +957,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-accountcode'].":\n"; echo "\n"; echo "\n"; + if ($action == "add"){ $accountcode=$_SESSION['domain_name']; } echo " \n"; echo "
\n"; echo $text['description-accountcode']."\n";