Skip to content

Commit

Permalink
Merge pull request EC-CUBE#652 from nanasess/fpdf-1.8.5
Browse files Browse the repository at this point in the history
setasign/fpdf の更新に伴う修正
  • Loading branch information
chihiro-adachi authored Dec 26, 2022
2 parents f3db17a + dc13f70 commit 4f65a97
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions data/class/helper/SC_Helper_FPDI.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,17 @@ public function lfConvSjis($conv_str)

return $conv_str;
}

public function _out($s)
{
// Add a line to the document
if($this->state==2)
$this->pages[$this->page] .= $s."\n";
elseif($this->state==1)
$this->_put($s);
elseif($this->state==0)
$this->Error('No page has been added yet');
elseif($this->state==3)
$this->Error('The document is closed');
}
}

0 comments on commit 4f65a97

Please sign in to comment.