Skip to content

Commit

Permalink
fixed the deprecated php issues
Browse files Browse the repository at this point in the history
  • Loading branch information
smntb committed Feb 22, 2022
1 parent 24a8426 commit 2fd4527
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.8.7
3.8.8
4 changes: 2 additions & 2 deletions app/Ohms/Interview/Version3.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
4 changes: 2 additions & 2 deletions lib/tcpdf/tcpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down

0 comments on commit 2fd4527

Please sign in to comment.