summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-06-13 11:42:44 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-06-13 11:42:44 +0000
commit995047da25595dd4c8c56f2883ae008139136d0f (patch)
tree1e3020cf003911126dea5ca2ad2341b17f738158 /usr/local/www/widgets
parent583840451095f326ff92ed500ca1e807151893e1 (diff)
downloadpfsense-995047da25595dd4c8c56f2883ae008139136d0f.zip
pfsense-995047da25595dd4c8c56f2883ae008139136d0f.tar.gz
Get integer value of last config change which might be empty but
prevents parse error. Notably on a alix or wrap on first install.
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/system_information.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php
index a631444..4bf3144 100644
--- a/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/usr/local/www/widgets/widgets/system_information.widget.php
@@ -98,7 +98,7 @@ require_once('notices.inc');
<?php if ($config['revision']): ?>
<tr>
<td width="25%" class="vncellt">Last config change</td>
- <td width="75%" class="listr"><?= htmlspecialchars(date("D M j G:i:s T Y", $config['revision']['time']));?></td>
+ <td width="75%" class="listr"><?= htmlspecialchars(date("D M j G:i:s T Y", intval($config['revision']['time'])));?></td>
</tr>
<?php endif; ?>
<tr>
OpenPOWER on IntegriCloud