]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/surfbar_functions.php
More queries and language constants rewritten
[mailer.git] / inc / libs / surfbar_functions.php
index 3b52f3cc1a3d082ce108bd905f68a4a0279b1b00..bddf3e2b2d51ea56a7d843f70a3ae8b1a033163b 100644 (file)
@@ -264,7 +264,7 @@ function SURFBAR_VALIDATE_MEMBER_ACTION_STATUS ($action, $status) {
        global $SURFBAR_CACHE;
 
        // Search for the requested action/status combination in database
-       $result = SQL_QUERY_ESC("SELECT new_status FROM `{!_MYSQL_PREFIX!}_surfbar_actions` WHERE action='%s' AND `status`='%s' LIMIT 1",
+       $result = SQL_QUERY_ESC("SELECT new_status FROM `{!_MYSQL_PREFIX!}_surfbar_actions` WHERE `action`='%s' AND `status`='%s' LIMIT 1",
                array($action, $status), __FILE__, __LINE__);
 
        // Is the entry there?