Skip to content

Commit

Permalink
Update recenttopics.php
Browse files Browse the repository at this point in the history
remove FROM_UNIX, it's mysql-only
  • Loading branch information
Andreas Vandenberghe authored Jan 9, 2017
1 parent f0dddce commit d3ebe95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/recenttopics.php
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ private function gettopiclist($start, $topics_per_page, $total_topics_limit, $so
{
// Get the allowed topics
$sql_array = array(
'SELECT' => 't.forum_id, t.topic_id, t.topic_type, t.icon_id, tt.mark_time, ft.mark_time as f_mark_time, FROM_UNIXTIME(t.' . $sort_topics . ') as sortcr ',
'SELECT' => 't.forum_id, t.topic_id, t.topic_type, t.icon_id, tt.mark_time, ft.mark_time as f_mark_time, t.' . $sort_topics . ' as sortcr ',
'FROM' => array(TOPICS_TABLE => 't'),
'LEFT_JOIN' => array(
array(
Expand Down

0 comments on commit d3ebe95

Please sign in to comment.