Permalink
Browse files

BUGFIX: SSF-168 adding Grid field print header default of null

  • Loading branch information...
1 parent cf30404 commit 93563021c6346ebe3ceb15d3eb8822c8c990d12f Julian Seidenberg committed Apr 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 forms/gridfield/GridFieldPrintButton.php
@@ -95,6 +95,7 @@ public function handlePrint($gridField, $request = null) {
*/
function generatePrintData($gridField) {
$printColumns = ($this->printColumns) ? $this->printColumns : $gridField->getDisplayFields();
+ $header = null;
if($this->printHasHeader){
$header = new ArrayList();
foreach($printColumns as $field => $label){

0 comments on commit 9356302

Please sign in to comment.