aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-13 10:56:14 +0000
committerErmal <eri@pfsense.org>2010-12-13 10:56:14 +0000
commitf1c1986f62e8ad5aec49b3652e2024d3411f8999 (patch)
treefdc52f90bc6c52b10d1adf79956a040b855f5394 /config
parentac68036d02419e8c9f884b7ba659596bc750d890 (diff)
downloadpfsense-packages-f1c1986f62e8ad5aec49b3652e2024d3411f8999.tar.gz
pfsense-packages-f1c1986f62e8ad5aec49b3652e2024d3411f8999.tar.bz2
pfsense-packages-f1c1986f62e8ad5aec49b3652e2024d3411f8999.zip
Darkstat pkg fix error.
Diffstat (limited to 'config')
-rw-r--r--config/darkstat/darkstat.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/darkstat/darkstat.xml b/config/darkstat/darkstat.xml
index f6eb2669..c90b33cd 100644
--- a/config/darkstat/darkstat.xml
+++ b/config/darkstat/darkstat.xml
@@ -82,6 +82,8 @@
</fields>
<custom_php_global_functions>
function sync_package_darkstat() {
+ if (!is_array($_POST['interface_array']))
+ return;
conf_mount_rw();
$first = 0;
foreach($_POST['interface_array'] as $iface) {