Skip to content
Permalink
Browse files

[fix] исправлена сортировка вывода последних тем форума

  • Loading branch information...
KpuTuK committed Oct 5, 2019
1 parent 4d55477 commit 1e427dfb66a39649bda1c715b410c7f915c1a73a
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/forum/helpers/forum_widget.php
@@ -37,7 +37,7 @@ public static function display($widget_id)
$topics = $db->get_array('SELECT SQL_CALC_FOUND_ROWS ft.*, u.username AS last_username
FROM #__forum_topics AS ft
INNER JOIN #__users AS u ON ft.last_user_id = u.user_id
ORDER BY ft.time DESC
ORDER BY ft.last_message_time DESC
LIMIT 0, 4');
foreach($topics as $topic){
$text .= '<div class="menu">'.

0 comments on commit 1e427df

Please sign in to comment.
You can’t perform that action at this time.