Bugfix #280: Table inside vertical border does not rendered properly

This commit is contained in:
Ivan Lanin 2014-06-16 16:23:41 +07:00
parent 384107e7cf
commit 5c8e100d41
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ This release added form fields (textinput, checkbox, and dropdown), drawing shap
- Fix rare PclZip/realpath/PHP version problem - @andrew-kzoo GH-261
- `addHTML` encoding and ampersand fixes for PHP 5.3 - @bskrtich GH-270
- Page breaks on titles and tables - @ivanlanin GH-274
- Table inside vertical border does not rendered properly - @ivanlanin GH-280
### Deprecated

View File

@ -55,7 +55,7 @@ class MarginBorder extends AbstractStyle
$xmlWriter = $this->getXmlWriter();
$sides = array('top', 'left', 'right', 'bottom', 'insideH', 'insideV');
$sizeCount = count($this->sizes) - 1;
$sizeCount = count($this->sizes);
for ($i = 0; $i < $sizeCount; $i++) {
if ($this->sizes[$i] !== null) {