diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-06-13 11:42:44 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-06-13 11:42:44 +0000 |
commit | 995047da25595dd4c8c56f2883ae008139136d0f (patch) | |
tree | 1e3020cf003911126dea5ca2ad2341b17f738158 | |
parent | 583840451095f326ff92ed500ca1e807151893e1 (diff) | |
download | pfsense-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.
-rw-r--r-- | usr/local/www/widgets/widgets/system_information.widget.php | 2 |
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> |