From e2859e9a353acbf488d2540ae2a116567a4514a0 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 5 Jul 2025 17:52:32 +0200 Subject: [PATCH] apply StyleCI recommendation --- lib/Data/Database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Data/Database.php b/lib/Data/Database.php index 8cfe557c..3949b3ba 100644 --- a/lib/Data/Database.php +++ b/lib/Data/Database.php @@ -299,8 +299,8 @@ class Database extends AbstractData $comments = array(); if (is_array($rows) && count($rows)) { foreach ($rows as $row) { - $i = $this->getOpenSlot($comments, (int) $row['postdate']); - $comments[$i] = Json::decode($row['data']); + $i = $this->getOpenSlot($comments, (int) $row['postdate']); + $comments[$i] = Json::decode($row['data']); $comments[$i]['id'] = $row['dataid']; $comments[$i]['parentid'] = $row['parentid']; $comments[$i]['meta'] = array('created' => (int) $row['postdate']);