mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 01:39:15 +02:00
apply StyleCI recommendation
This commit is contained in:
parent
8668e7b366
commit
e2859e9a35
1 changed files with 2 additions and 2 deletions
|
@ -299,8 +299,8 @@ class Database extends AbstractData
|
||||||
$comments = array();
|
$comments = array();
|
||||||
if (is_array($rows) && count($rows)) {
|
if (is_array($rows) && count($rows)) {
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$i = $this->getOpenSlot($comments, (int) $row['postdate']);
|
$i = $this->getOpenSlot($comments, (int) $row['postdate']);
|
||||||
$comments[$i] = Json::decode($row['data']);
|
$comments[$i] = Json::decode($row['data']);
|
||||||
$comments[$i]['id'] = $row['dataid'];
|
$comments[$i]['id'] = $row['dataid'];
|
||||||
$comments[$i]['parentid'] = $row['parentid'];
|
$comments[$i]['parentid'] = $row['parentid'];
|
||||||
$comments[$i]['meta'] = array('created' => (int) $row['postdate']);
|
$comments[$i]['meta'] = array('created' => (int) $row['postdate']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue