Skip to content

Commit e65b079

Browse files
committed
compatibility php 8
1 parent 08934a3 commit e65b079

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ test.php
33
core/config/common.config.php
44
plugins
55
sftp-config.json
6-
.project
6+
.project
7+
.vscode/settings.json

desktop/php/script.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
if ($eqLogic->getConfiguration('autorefresh') != '') $eqString .= '<span>' . $eqLogic->getConfiguration('autorefresh') . '</span>';
5858
$cats = $eqLogic->getCategory();
5959
unset($cats['default']);
60-
$eqString .= '<span>' . implode(array_keys($cats, 1), ', ') . '</span>';
60+
$eqString .= '<span>' . implode(', ', array_keys($cats, 1)) . '</span>';
6161
if ($eqLogic->getIsVisible() == 1) {
6262
$eqString .= ' <i class="fas fa-eye"></i>';
6363
} else {

0 commit comments

Comments
 (0)