Repair Historie sorting

This commit is contained in:
Haitem
2021-01-05 13:01:06 +01:00
parent d9952a59fb
commit 1415c0cf2d
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@
<?php echo (!empty($device['ip_address']) ? $device['ip_address'] : ""); ?><br>
<?php echo (!empty($device['token']) ? $device['token'] : ""); ?></td>
<td>
<?php if (isset($device['history'])): ?>
<?php if (isset($device['history']) && $device['history'] != "null"): ?>
<form method="post" action="">
<input type="hidden" name="deviceId" value="<?php echo (!empty($device['device_id']) ? $device['device_id'] : ""); ?>">
<input class="input" type="number" onchange="this.form.submit();" name="deviceHistory" value="<?php echo (!empty($device['history']) ? $device['history'] : 0); ?>">