fixing "missing" comments when they were posted during the same second
This commit is contained in:
@@ -378,7 +378,7 @@ class zerobin_db extends zerobin_abstract
|
||||
{
|
||||
foreach ($rows as $row)
|
||||
{
|
||||
$i = (int) $row['postdate'];
|
||||
$i = $this->getOpenSlot($comments, (int) $row['postdate']);
|
||||
$comments[$i] = clone $commentTemplate;
|
||||
$comments[$i]->data = $row['data'];
|
||||
$comments[$i]->meta->nickname = $row['nickname'];
|
||||
|
||||
Reference in New Issue
Block a user