From: Roland Häder Date: Mon, 15 Aug 2011 12:31:45 +0000 (+0000) Subject: SQL fixed (opps) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=028c126994e6a0ee79f07a9c4a91f2cc4a3bcc56;p=mailer.git SQL fixed (opps) --- diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index a836da97b4..52d051cd09 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -678,7 +678,7 @@ function isEmailTaken ($email) { FROM `{?_MYSQL_PREFIX?}_user_data` WHERE - REGEX '%s' `email` AND + '%s' REGEXP `email` AND `userid` %s LIMIT 1", array( @@ -697,7 +697,7 @@ LIMIT 1", } // Validate the given menu action -function isMenuActionValid ($mode, $action, $what, $updateEntry=false) { +function isMenuActionValid ($mode, $action, $what, $updateEntry = false) { // Is the cache entry there and we shall not update? if ((isset($GLOBALS['action_valid'][$mode][$action][$what])) && ($updateEntry === false)) { // Count cache hit