Dimensions not utilized in Direct Invoice/Delivery
[fa-stable.git] / admin / create_coy.php
index 5e084fa823154df67000c7d34c9316351db54beb..0ba1109047556c24d6d8068be1306c9bebd1a5d6 100644 (file)
@@ -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";