Merge branch 'fronkdev' into 'master'
Hotfix PHP 8 Device/Detail.php See merge request fronk/thetool!1931
This commit is contained in:
@@ -367,7 +367,7 @@ foreach ($devicesall as $deviceall) {
|
||||
<h4 class="float-left">Config Backups</h4>
|
||||
<span><i class="fa-sharp fa-solid fa-arrows-spin fa-backup-check <?= ($devices->backup_check) ? '' : 'fa-backup-check-uncheck' ?>"
|
||||
title=" <?= ($devices->backup_check) ? 'Backup Check aktiv' : 'Backup Check inaktiv' ?>"></i></span>
|
||||
<?php if ($devices->devicetype->devicemanufactor->config_backup > count()): ?>
|
||||
<?php if ($devices->devicetype->devicemanufactor->config_backup > 0): ?>
|
||||
<span><i title="Switch config" class="fa-light fa-rectangle-code code-ico"
|
||||
data-toggle="modal" data-target="#configCode"></i></span>
|
||||
<?php endif;
|
||||
@@ -408,7 +408,7 @@ foreach ($devicesall as $deviceall) {
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
if ($devicesconfig->success == "true" && $devicesconfig->data > count()) {
|
||||
if ($devicesconfig->success == "true" && $devicesconfig->data > 0) {
|
||||
?>
|
||||
<div>
|
||||
<table class="table table-sm">
|
||||
@@ -711,7 +711,7 @@ foreach ($devicesall as $deviceall) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($devices->devicetype->devicemanufactor->config_backup > count()):
|
||||
<?php if ($devices->devicetype->devicemanufactor->config_backup > 0):
|
||||
|
||||
$year = date("Y", time());
|
||||
$month = date("n", time());
|
||||
|
||||
Reference in New Issue
Block a user