diff options
Diffstat (limited to 'idiorm.php')
-rw-r--r-- | idiorm.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -306,6 +306,7 @@ if(!is_null($id)) { $this->where($this->_get_id_column_name(), $id); } + $this->limit(1); $this->_find_type = self::FIND_ONE; $statement = $this->_run(); $result = $statement->fetch(PDO::FETCH_ASSOC); |