Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Fixed TableListField->print() - was unsetting $cachedSourceIte…

…ms 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
  • Loading branch information...
commit a96cb319d3baf5decd4568eae5418139ab2c1de8 1 parent a729b86
@sminnee sminnee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  forms/TableListField.php
View
2  forms/TableListField.php
@@ -1008,7 +1008,7 @@ function printall() {
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;
Please sign in to comment.
Something went wrong with that request. Please try again.