]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-del_email.php
Filters for configurable userid exclusion added:
[mailer.git] / inc / modules / admin / what-del_email.php
index 6afb0abc4fd894c53991e31e8b4fc57fc6799ca2..06e2da757c59ef4356158c43f45339e8e8bcfcf3 100644 (file)
@@ -72,13 +72,13 @@ if (isGetRequestElementSet('mid')) {
 
                // Fetch right stats_id from pool
                $result_pool = SQL_QUERY_ESC("SELECT
-       s.id
+       s.`id`
 FROM
-       `{?_MYSQL_PREFIX?}_user_stats` AS s
+       `{?_MYSQL_PREFIX?}_user_stats` AS `s`
 LEFT JOIN
-       `{?_MYSQL_PREFIX?}_pool` AS p
+       `{?_MYSQL_PREFIX?}_pool` AS `p`
 ON
-       s.pool_id=p.id
+       s.`pool_id`=`p`.`id`
 WHERE
        s.`pool_id`=%s
 LIMIT 1",