From cf7d583695f2e549a47ec73667a49e79d6fc7231 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 8 Apr 2010 22:39:34 +0000 Subject: [PATCH] Rerun --- admin/create_coy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'"); } } -- 2.30.2