From: Joe Hunt Date: Mon, 28 May 2012 06:43:50 +0000 (+0200) Subject: Rerun of /admin/create_coy.php X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c343b82e80e7e359218b9841f3c735ebcad410ef;p=textcart.git Rerun of /admin/create_coy.php --- diff --git a/admin/create_coy.php b/admin/create_coy.php index 5e084fa..0ba1109 100644 --- a/admin/create_coy.php +++ b/admin/create_coy.php @@ -131,7 +131,7 @@ function handle_submit() display_error(_('Cannot create new company due to bugs in sql file.')); $error = true; } - if (!$error) + else { if (!isset($_POST['admpassword']) || $_POST['admpassword'] == "") $_POST['admpassword'] = "password";