diff --git a/privileges.inc.php b/privileges.inc.php index c231b5c2..0a10a60b 100644 --- a/privileges.inc.php +++ b/privileges.inc.php @@ -3,6 +3,7 @@ page_header(lang('Privileges')); echo '
\n"; $result = $mysql->query("SELECT User, Host FROM mysql.user ORDER BY Host, User"); if (!$result) { + //! Grant and revoke privileges to any users $result = $mysql->query("SELECT SUBSTRING_INDEX(CURRENT_USER, '@', 1) AS User, SUBSTRING_INDEX(CURRENT_USER, '@', -1) AS Host"); } echo "