diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 76796122e5e..d1d3b3f6866 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -3234,10 +3234,6 @@ public function getID($list = 0) { return $this->id; } - if (empty($this->id)) { - return false; - } - if (isset($this->id[$list]) && !empty($this->id[$list])) { return $this->id[$list]; } elseif (isset($this->id[$list])) {