1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Issue #213 Chatbox avatar issue corrected.

This commit is contained in:
Cameron
2013-05-05 01:13:21 -07:00
parent 18e0d21024
commit 464bfa47c5
2 changed files with 3 additions and 3 deletions

View File

@@ -284,7 +284,7 @@ if(!$text = $e107cache->retrieve("nq_chatbox"))
define("CB_MOD", check_class($pref['cb_mod']));
$qry = "
SELECT c.*, u.user_name FROM #chatbox AS c
SELECT c.*, u.user_name, u.user_image FROM #chatbox AS c
LEFT JOIN #user AS u ON SUBSTRING_INDEX(c.cb_nick,'.',1) = u.user_id
ORDER BY c.cb_datestamp DESC LIMIT 0, ".intval($chatbox_posts);