Commit 2d052a32 authored by Franz Liedke's avatar Franz Liedke

Get rid of duplicate function call.

parent a6c681db
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment