Fixing minor typo in model.php. Closes #6176

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8080 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2009-03-08 16:20:11 +00:00
parent b0a0f2ad30
commit 62ea98bdb2

View file

@ -1682,7 +1682,7 @@ class Model extends Overloadable {
$this->id = $id; $this->id = $id;
if (!empty($this->belongsTo)) { if (!empty($this->belongsTo)) {
$keys = $this->find('first', array('fields', $this->__collectForeignKeys())); $keys = $this->find('first', array('fields' => $this->__collectForeignKeys()));
} }
if ($db->delete($this)) { if ($db->delete($this)) {