diff options
Diffstat (limited to 'computer-time-limit.php')
-rw-r--r-- | computer-time-limit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/computer-time-limit.php b/computer-time-limit.php index 12fcfeb..1fc8f3e 100644 --- a/computer-time-limit.php +++ b/computer-time-limit.php @@ -124,7 +124,7 @@ while ($row = $result->fetchArray()) { $von = strtotime($row['von']); $bis = $bis + 30*60*(floor($now/60/60/24) - floor($von/60/60/24)); - if (!is_null($host)) { + if (!is_null($row['host'])) { $von = $now; } $noch = $bis - $von; |