1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Fix query error on login_menu/config.php (new forum table structure)

This commit is contained in:
Moc 2013-04-15 11:14:02 +02:00
parent 2b6b918a10
commit 72c668de9c

View File

@ -185,7 +185,7 @@ class login_menu_class
$nobody_regexp = "'(^|,)(".str_replace(",", "|", e_UC_NOBODY).")(,|$)'";
$qry = "
SELECT count(*) as count FROM #forum_t as t
SELECT count(*) as count FROM #forum_thread as t
LEFT JOIN #forum as f
ON t.thread_forum_id = f.forum_id
WHERE t.thread_datestamp > ".USERLV." and f.forum_class IN (".USERCLASS_LIST.") AND NOT (f.forum_class REGEXP ".$nobody_regexp.")