Get rid of duplicate function call.
This commit is contained in:
parent
a6c681db39
commit
2d052a3222
@ -141,7 +141,7 @@ class Has_Many_And_Belongs_To extends Relationship {
|
|||||||
|
|
||||||
if (count($detach) > 0)
|
if (count($detach) > 0)
|
||||||
{
|
{
|
||||||
$this->detach(array_diff($current, $ids));
|
$this->detach($detach);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user