Skip to content
Browse files

Silent fail to prevent bug?

  • Loading branch information...
1 parent 4ec3413 commit 8e48e5a1243bd0060cf907ab24b033f2a6654193 @mattab mattab committed Mar 8, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/tcpdf/tcpdf.php
View
2 libs/tcpdf/tcpdf.php
@@ -7109,7 +7109,7 @@ public function Image($file, $x='', $y='', $w=0, $h=0, $type='', $link='', $alig
$xkimg = $ximg * $this->k;
if (!$alt) {
// only non-alternative immages will be set
- $this->_out(sprintf('q %F 0 0 %F %F %F cm /I%u Do Q', ($w * $this->k), ($h * $this->k), $xkimg, (($this->h - ($y + $h)) * $this->k), $info['i']));
+ $this->_out(sprintf('q %F 0 0 %F %F %F cm /I%u Do Q', ($w * $this->k), ($h * $this->k), $xkimg, (($this->h - ($y + $h)) * $this->k), @$info['i']));
}
if (!empty($border)) {
$bx = $this->x;

0 comments on commit 8e48e5a

Please sign in to comment.
Something went wrong with that request. Please try again.