[-] PDF : #PSCFV-2795 : Add font : freeserif and fix bug in tcpdf.php
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16134 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -9409,7 +9409,8 @@ class TCPDF {
|
||||
$nextk = -1;
|
||||
$prevint = false;
|
||||
foreach ($range as $k => $ws) {
|
||||
if (($k == $nextk) AND (!$prevint) AND ((!isset($ws['interval'])) OR (count($ws) < 4))) {
|
||||
$cws = count($ws);
|
||||
if (($k == $nextk) AND (!$prevint) AND ((!isset($ws['interval'])) OR ($cws < 4))) {
|
||||
if (isset($range[$k]['interval'])) {
|
||||
unset($range[$k]['interval']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user