diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-05-01 22:36:20 +0200 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-05-01 22:36:20 +0200 |
commit | be754c8b5d91752c394c08c250413d0e2486b9a9 (patch) | |
tree | 4393e1d26fde0dad6beae2d0e73964f34eafbebc /etc | |
parent | c26de127238fca416f57f68f29f9a0b723b97adc (diff) | |
download | pfsense-be754c8b5d91752c394c08c250413d0e2486b9a9.zip pfsense-be754c8b5d91752c394c08c250413d0e2486b9a9.tar.gz |
Ticket #4652 actually return value as expected!
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 963e84c..522636d 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -1224,9 +1224,9 @@ function captiveportal_get_last_activity($ip, $mac = NULL, $table = 1) { if (is_array($ipfwoutput)) { /* Workaround for #46652 */ if ($ipfwoutput['packets'] > 0) { - return $ipfw_tbl1['timestamp']; - } else { return $ipfwoutput['timestamp']; + } else { + return 0; } } |