Completed
Pull Request — master (#6)
by Patrick
03:35
created
Data/class.SQLDataSet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,9 +134,9 @@
 block discarded – undo
134 134
             $tmp = array();
135 135
             foreach($sort as $sort_col=>$dir)
136 136
             {
137
-                array_push($tmp, $sort_col.' '.($dir === 1? 'ASC' : 'DESC'));
137
+                array_push($tmp, $sort_col.' '.($dir === 1 ? 'ASC' : 'DESC'));
138 138
             }
139
-            $sql .= implode($tmp,',');
139
+            $sql .= implode($tmp, ',');
140 140
         }
141 141
         $stmt = $this->pdo->query($sql, \PDO::FETCH_ASSOC);
142 142
         if($stmt === false)
Please login to merge, or discard this patch.