0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-03-16 14:23:33 +00:00

Fixed 2153 -Images in PDFs not showing

This commit is contained in:
Simeon Gaved 2016-12-21 11:10:04 +00:00
parent 7895179a58
commit d1279cad9c

View file

@ -9667,7 +9667,7 @@ function _getImage(&$file, $firsttime=true, $allowvector=true, $orig_srcpath=fal
// firsttime i.e. whether to add to this->images - use false when calling iteratively
// Image Data passed directly as var:varname
if (preg_match('/var:\s*(.*)/',$file, $v)) {
$data = $this->$v[1];
$data = $this->{$v[1]};
$file = md5($data);
}
// mPDF 5.5.13