Skip to content

Commit

Permalink
Rename Reader sample and sync Base.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanlanin committed Mar 13, 2014
1 parent d180ac7 commit 8d942b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Classes/PHPWord/Writer/Word2007/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,14 +500,14 @@ protected function _writeTable(PHPWord_Shared_XMLWriter $objWriter = null, PHPWo
$objWriter->writeAttribute('w:val', $height);
$objWriter->endElement();
}
if (!is_null($tblHeader)) {
if ($tblHeader) {
$objWriter->startElement('w:tblHeader');
$objWriter->writeAttribute('w:val', $tblHeader);
$objWriter->writeAttribute('w:val', '1');
$objWriter->endElement();
}
if (!is_null($cantSplit)) {
if ($cantSplit) {
$objWriter->startElement('w:cantSplit');
$objWriter->writeAttribute('w:val', $cantSplit);
$objWriter->writeAttribute('w:val', '1');
$objWriter->endElement();
}
$objWriter->endElement();
Expand Down
File renamed without changes.

0 comments on commit 8d942b5

Please sign in to comment.