summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-05-22 15:49:28 +0000
committerErmal Luçi <eri@pfsense.org>2009-05-22 15:49:28 +0000
commit32822c6e162ce612392aae9e0ffe83fe633c9ec8 (patch)
tree88766d5290f64c9f58d0ba85f5b8c155d2f540aa /usr/local
parent35e4f68e3c5919f8e85d6febcc01b22de1155da2 (diff)
downloadpfsense-32822c6e162ce612392aae9e0ffe83fe633c9ec8.zip
pfsense-32822c6e162ce612392aae9e0ffe83fe633c9ec8.tar.gz
Propperly check for empty slots. Fix by forum user: itsmorefun!
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/status_captiveportal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index 03dbf6e..1a3d7ca 100755
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -100,7 +100,7 @@ if ($_GET['order']) {
<td class="list sort_ignore"></td>
</tr>
<?php foreach ($cpdb as $cpent):
- if (empty($cpent))
+ if (empty($cpent[0]))
continue;
?>
<tr>
OpenPOWER on IntegriCloud