BUGFIX Fixed TableListField->print() - was unsetting $cachedSourceItems instead of null'ing it, which breaks later access to the property (from r101080)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111583 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-04 04:44:58 +00:00
parent a729b86df8
commit a96cb319d3

View File

@ -1008,7 +1008,7 @@ JS
Requirements::css(CMS_DIR . '/css/cms_right.css'); Requirements::css(CMS_DIR . '/css/cms_right.css');
Requirements::css(SAPPHIRE_DIR . '/css/TableListField_print.css'); Requirements::css(SAPPHIRE_DIR . '/css/TableListField_print.css');
unset($this->cachedSourceItems); $this->cachedSourceItems = null;
$oldShowPagination = $this->showPagination; $oldShowPagination = $this->showPagination;
$this->showPagination = false; $this->showPagination = false;