|
@@ -134,7 +134,7 @@ discard block |
|
|
block discarded – undo |
|
134
|
134
|
$smcFunc['db_free_result']($result_boards); |
|
135
|
135
|
|
|
136
|
136
|
// Run through the categories and boards (or only boards).... |
|
137
|
|
- for (reset($row_boards); key($row_boards)!==null; next($row_boards)) |
|
|
137
|
+ for (reset($row_boards); key($row_boards) !== null; next($row_boards)) |
|
138
|
138
|
{ |
|
139
|
139
|
$row_board = current($row_boards); |
|
140
|
140
|
|
|
@@ -352,8 +352,8 @@ discard block |
|
|
block discarded – undo |
|
352
|
352
|
|
|
353
|
353
|
// Set the last post in the root board |
|
354
|
354
|
if (!$isChild && !empty($row_board['poster_time']) |
|
355
|
|
- && ( empty($this_category[$row_board['id_board']]['last_post']['poster_time']) |
|
356
|
|
- || forum_time(true,$this_category[$row_board['id_board']]['last_post']['poster_time']) < forum_time(true, $row_board['poster_time']) |
|
|
355
|
+ && (empty($this_category[$row_board['id_board']]['last_post']['poster_time']) |
|
|
356
|
+ || forum_time(true, $this_category[$row_board['id_board']]['last_post']['poster_time']) < forum_time(true, $row_board['poster_time']) |
|
357
|
357
|
) |
|
358
|
358
|
) |
|
359
|
359
|
$this_category[$row_board['id_board']]['last_post'] = $this_last_post; |
Please login to merge, or discard this patch.