aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_sync_client.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/carp_sync_client.php')
-rw-r--r--packages/carp_sync_client.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index d7e9146a..8e494abe 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -28,7 +28,8 @@
*/
if($already_processed != 1)
- if($config['installedpackages']['carpsettings']['config'] != "") {
+ if($config['installedpackages']['carpsettings']['config'] <> "" and
+ is_array($config['installedpackages']['carpsettings']['config'])) {
$already_processed = 1;
foreach($config['installedpackages']['carpsettings']['config'] as $carp) {
if($carp['synchronizetoip'] <> "" ) {