From e65e46bd82dc34c618e78c3d309fa6557e56a139 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 15 Mar 2010 22:29:17 +0000 Subject: [PATCH] BUGFIX Fixed TableListField->print() - was unsetting $cachedSourceItems instead of null'ing it, which breaks later access to the property git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101080 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TableListField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TableListField.php b/forms/TableListField.php index f7ff7ffb5..cb9fbd936 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -1008,7 +1008,7 @@ JS Requirements::css(CMS_DIR . '/css/cms_right.css'); Requirements::css(SAPPHIRE_DIR . '/css/TableListField_print.css'); - unset($this->cachedSourceItems); + $this->cachedSourceItems = null; $oldShowPagination = $this->showPagination; $this->showPagination = false;