aboutsummaryrefslogtreecommitdiffstats
path: root/config/darkstat
diff options
context:
space:
mode:
Diffstat (limited to 'config/darkstat')
-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) {