From a78a5207ffb4026ba3b948aa5334ddf1cdc952e0 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Wed, 30 Nov 2022 21:59:20 +0100 Subject: [PATCH] oups --- inc/class.zoneclear.feed.server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/class.zoneclear.feed.server.php b/inc/class.zoneclear.feed.server.php index d465afc..1c84ce8 100644 --- a/inc/class.zoneclear.feed.server.php +++ b/inc/class.zoneclear.feed.server.php @@ -837,7 +837,7 @@ class zoneclearFeedServer # Get super admins $rs = $this->con->select( 'SELECT user_id, user_super, user_name, user_firstname, user_displayname ' . - 'FROM ' . $this->con->escapeSystem(dcCore::app()->prefix . dcCategories::CATEGORY_TABLE_NAME) . ' ' . + 'FROM ' . $this->con->escapeSystem(dcCore::app()->prefix . dcAuth::USER_TABLE_NAME) . ' ' . 'WHERE user_super = 1 AND user_status = 1 ' ); @@ -856,7 +856,7 @@ class zoneclearFeedServer # Get admins $rs = $this->con->select( 'SELECT U.user_id, U.user_super, U.user_name, U.user_firstname, U.user_displayname ' . - 'FROM ' . $this->con->escapeSystem(dcCore::app()->prefix . dcCategories::CATEGORY_TABLE_NAME) . ' U ' . + 'FROM ' . $this->con->escapeSystem(dcCore::app()->prefix . dcAuth::USER_TABLE_NAME) . ' U ' . 'LEFT JOIN ' . $this->con->escapeSystem(dcCore::app()->prefix . dcAuth::PERMISSIONS_TABLE_NAME) . ' P ' . 'ON U.user_id=P.user_id ' . 'WHERE U.user_status = 1 ' .