diff --git a/VERSION.txt b/VERSION.txt index 4351a7e..d7d8e42 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -3.8.7 +3.8.8 diff --git a/app/Ohms/Interview/Version3.php b/app/Ohms/Interview/Version3.php index 030b72f..e20b171 100644 --- a/app/Ohms/Interview/Version3.php +++ b/app/Ohms/Interview/Version3.php @@ -142,14 +142,14 @@ private function __construct($viewerconfig, $tmpDir, $cachefile) foreach ($interviewer_info as $part) { $pieces[] = $part; } - $this->data['interviewer'] = implode($pieces, ''); + $this->data['interviewer'] = implode('', $pieces); $interviewee_info = $ohfile->record->interviewee; $piecese = array(); foreach($interviewee_info as $parte) { $piecese[] = $parte; } - $this->data['interviewee'] = implode($piecese, ''); + $this->data['interviewee'] = implode('', $piecese); unset($this->cacheFile); } diff --git a/lib/tcpdf/tcpdf.php b/lib/tcpdf/tcpdf.php index 0b2a7e3..85c47cc 100644 --- a/lib/tcpdf/tcpdf.php +++ b/lib/tcpdf/tcpdf.php @@ -16897,10 +16897,10 @@ protected function getHtmlDomArray($html) { if (($dom[$key]['value'] == 'pre') OR ($dom[$key]['value'] == 'tt')) { $dom[$key]['fontname'] = $this->default_monospaced_font; } - if (!empty($dom[$key]['value']) AND ($dom[$key]['value'][0] == 'h') AND (intval($dom[$key]['value']{1}) > 0) AND (intval($dom[$key]['value']{1}) < 7)) { + if (!empty($dom[$key]['value']) AND ($dom[$key]['value'][0] == 'h') AND (intval($dom[$key]['value'][1]) > 0) AND (intval($dom[$key]['value'][1]) < 7)) { // headings h1, h2, h3, h4, h5, h6 if (!isset($dom[$key]['attribute']['size']) AND !isset($dom[$key]['style']['font-size'])) { - $headsize = (4 - intval($dom[$key]['value']{1})) * 2; + $headsize = (4 - intval($dom[$key]['value'][1])) * 2; $dom[$key]['fontsize'] = $dom[0]['fontsize'] + $headsize; } if (!isset($dom[$key]['style']['font-weight'])) {