From: Joe Hunt Date: Thu, 8 Apr 2010 22:39:34 +0000 (+0000) Subject: Rerun X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=cf7d583695f2e549a47ec73667a49e79d6fc7231;p=textcart.git Rerun --- diff --git a/admin/create_coy.php b/admin/create_coy.php index a0d4c61..672a0c1 100644 --- a/admin/create_coy.php +++ b/admin/create_coy.php @@ -151,7 +151,7 @@ function handle_submit() { display_error(_("Error connecting to Database: ") . $conn['dbname'] . _(", Please correct it")); $error = true; - } else { + } elseif ($_POST['admpassword'] != "") { db_query("UPDATE ".$conn['tbpref']."users set password = '".md5($_POST['admpassword']). "' WHERE user_id = 'admin'"); } }