From 8e48e5a1243bd0060cf907ab24b033f2a6654193 Mon Sep 17 00:00:00 2001 From: mattab Date: Sat, 8 Mar 2014 19:09:49 +1300 Subject: [PATCH] Silent fail to prevent bug? http://forum.piwik.org/read.php?2,112675 --- libs/tcpdf/tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/tcpdf/tcpdf.php b/libs/tcpdf/tcpdf.php index 44505e79a6c..20fdee35a1b 100644 --- a/libs/tcpdf/tcpdf.php +++ b/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;