summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-08-23 15:36:55 -0300
committerRenato Botelho <renato@netgate.com>2017-08-23 15:36:55 -0300
commitc51193a9151f027013c4fe77cb044ae15a6f4b81 (patch)
tree5dbd3be95a08e7b28d79ca814d6f31fbec92d1cd /src/usr/local/www
parent68e41c4a0d7764062b1cae0c9a13976c99aec6e7 (diff)
parent07df3494bd9a508e568b4ae999369ec8b2d14ec2 (diff)
downloadpfsense-c51193a9151f027013c4fe77cb044ae15a6f4b81.zip
pfsense-c51193a9151f027013c4fe77cb044ae15a6f4b81.tar.gz
Merge pull request #3804 from plumbeo/fix-details-popup
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/status_captiveportal.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status_captiveportal.php b/src/usr/local/www/status_captiveportal.php
index 8950c2f..48dca3f 100644
--- a/src/usr/local/www/status_captiveportal.php
+++ b/src/usr/local/www/status_captiveportal.php
@@ -65,11 +65,11 @@ function print_details($cpent) {
$last_act = $last_act ? $last_act : $cpent[0];
$idle_time = time() - $last_act;
- printf(gettext("Idle time: %s") . "<br>", convert_seconds_to_dhms($idle_time));
+ printf(gettext("Idle time: %s") . "<br>", convert_seconds_to_dhms((int)$idle_time));
if (!empty($cpent[8])) {
$idle_time_left = $last_act + $cpent[8] - time();
- printf(gettext("Idle time left: %s") . "<br>", convert_seconds_to_dhms($idle_time_left));
+ printf(gettext("Idle time left: %s") . "<br>", convert_seconds_to_dhms((int)$idle_time_left));
}
}
OpenPOWER on IntegriCloud