Skip to content

Commit

Permalink
BUGFIX TableListField items couldn't be deleted because TableListFiel…
Browse files Browse the repository at this point in the history
…d_ItemRequest::__construct() didn't call parent::__construct()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77016 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Sean Harvey authored and Sam Minnee committed Feb 2, 2011
1 parent 56977a0 commit 63aba66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions forms/TableListField.php
Expand Up @@ -1374,6 +1374,8 @@ function Link() {
function __construct($ctf, $itemID) {
$this->ctf = $ctf;
$this->itemID = $itemID;

parent::__construct();
}

function delete() {
Expand Down

0 comments on commit 63aba66

Please sign in to comment.