Browse files

BUGFIX Fix HasManyList::removeByID()

  • Loading branch information...
1 parent a76c9c3 commit 267050171aee70aef44f0d53728758cb049130f7 Andrew O'Neil committed Feb 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 model/HasManyList.php
View
2 model/HasManyList.php
@@ -63,7 +63,7 @@ function add($item) {
* @param $itemID The ID of the item to be removed
*/
function removeByID($itemID) {
- $item = $this->byID($item);
+ $item = $this->byID($itemID);
return $this->remove($item);
}

0 comments on commit 2670501

Please sign in to comment.