Skip to content

Commit

Permalink
BUGFIX Fix HasManyList::removeByID()
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewandante committed Feb 9, 2012
1 parent a76c9c3 commit 2670501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/HasManyList.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2670501

Please sign in to comment.