Get rid of duplicate function call.

This commit is contained in:
Franz Liedke
2012-10-17 18:28:42 +03:00
parent a6c681db39
commit 2d052a3222

View File

@@ -141,7 +141,7 @@ class Has_Many_And_Belongs_To extends Relationship {
if (count($detach) > 0)
{
$this->detach(array_diff($current, $ids));
$this->detach($detach);
}
}