summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-11-23 19:32:49 +0000
committerErmal <eri@pfsense.org>2013-11-23 19:32:49 +0000
commitfcaf17090a6ef2beb85f1220048b3e7ea53b105d (patch)
treec09f90957e58479666f1e545feb5c053e8d64dca /usr/local/www/widgets
parente5f2cf3a94efd552a3e19fb2ea7dcee36a00df79 (diff)
downloadpfsense-fcaf17090a6ef2beb85f1220048b3e7ea53b105d.zip
pfsense-fcaf17090a6ef2beb85f1220048b3e7ea53b105d.tar.gz
Catch up with mac needed for all operations in the table nowdays.
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/captive_portal_status.widget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/widgets/widgets/captive_portal_status.widget.php b/usr/local/www/widgets/widgets/captive_portal_status.widget.php
index 245b65b..d773877 100644
--- a/usr/local/www/widgets/widgets/captive_portal_status.widget.php
+++ b/usr/local/www/widgets/widgets/captive_portal_status.widget.php
@@ -67,7 +67,7 @@ foreach ($a_cp as $cpzone => $cp) {
foreach ($cpdb as $cpent) {
$cpent[10] = $cpzone;
if ($_GET['showact'])
- $cpent[11] = captiveportal_get_last_activity($cpent[2]);
+ $cpent[11] = captiveportal_get_last_activity($cpent[2], $cpentry[3]);
$cpdb_all[] = $cpent;
}
}
@@ -111,4 +111,4 @@ if ($_GET['order']) {
<a href="?order=<?=$_GET['order'];?>&amp;showact=<?=$_GET['showact'];?>&amp;act=del&amp;zone=<?=$cpent[10];?>&amp;id=<?=$cpent[5];?>" onclick="return confirm('Do you really want to disconnect this client?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="x" /></a></td>
</tr>
<?php endforeach; ?>
-</table> \ No newline at end of file
+</table>
OpenPOWER on IntegriCloud