1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-15 18:14:07 +02:00

Issue #1373 Possible fix for forum posts not displaying.

This commit is contained in:
Cameron 2016-03-03 16:04:44 -08:00
parent f2ee4ff72c
commit 9470d5184b

View File

@ -206,10 +206,13 @@ elseif ($action == 'forums')
$vars = new e_vars();
$userposts_forum_table_string = '';
while(true)
while($row = $sql->fetch())
{
$row = $sql->fetch();
if(empty($row)) break;
if(empty($row))
{
continue;
}
$datestamp = $gen->convert_date($row['post_datestamp'], 'short');
if ($row['thread_datestamp'] == $row['post_datestamp'])