Ver Fonte

apply StyleCI recommendation

El RIDO há 1 ano atrás
pai
commit
e2859e9a35
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      lib/Data/Database.php

+ 2 - 2
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']);