mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
8973ea44b7
commit
e65e46bd82
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user