Skip to content

Commit

Permalink
BUGFIX: SSF-168 adding Grid field print header default of null
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Seidenberg committed Apr 9, 2012
1 parent cf30404 commit 9356302
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions forms/gridfield/GridFieldPrintButton.php
Expand Up @@ -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){
Expand Down

0 comments on commit 9356302

Please sign in to comment.