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
This commit is contained in:
Ingo Schommer 2010-03-15 22:29:17 +00:00 committed by Sam Minnee
parent 8973ea44b7
commit e65e46bd82

View File

@ -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;