diff --git a/core/MY_Model.php b/core/MY_Model.php index 05add98..002adab 100644 --- a/core/MY_Model.php +++ b/core/MY_Model.php @@ -122,6 +122,7 @@ public function __construct() */ public function get($primary_value) { + $this->db->limit(1); return $this->get_by($this->primary_key, $primary_value); }