@@ -156,7 +156,7 @@ |
||
| 156 | 156 | $this->read = DB::connect()->prepare("SELECT * FROM {$this->table} LIMIT {$this->limit} OFFSET {$this->offset}"); |
| 157 | 157 | $this->read->execute(); |
| 158 | 158 | $this->result = $this->read->fetchAll(\PDO::FETCH_OBJ); |
| 159 | - }catch (\PDOException $e){ |
|
| 159 | + } catch (\PDOException $e){ |
|
| 160 | 160 | echo $e->getMessage() . " in " . $e->getFile(); |
| 161 | 161 | |
| 162 | 162 | } |