Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX Fix HasManyList::removeByID()

  • Loading branch information...
commit 267050171aee70aef44f0d53728758cb049130f7 1 parent a76c9c3
Andrew O'Neil ajoneil authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  model/HasManyList.php
2  model/HasManyList.php
View
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.