From c47f907df94c2ecde28297451a086d9831853a7c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 8 Jun 2006 04:28:40 +0000 Subject: [PATCH] Fixed remove errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3686 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_goMailServer.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_goMailServer.inc b/plugins/admin/systems/class_goMailServer.inc index 02b7bd67c..8afd4dda0 100644 --- a/plugins/admin/systems/class_goMailServer.inc +++ b/plugins/admin/systems/class_goMailServer.inc @@ -246,7 +246,7 @@ class goMailServer extends plugin{ $this->postfixMyNetworks[base64_encode($str)] = $str; } - if((isset($_POST['DelpostfixMyNetworks'])) && (count($_POST['Select_postfixMyNetworks']))){ + if((isset($_POST['DelpostfixMyNetworks'])) && isset($_POST['Select_postfixMyNetworks']) &&(count($_POST['Select_postfixMyNetworks']))){ foreach($_POST['Select_postfixMyNetworks'] as $str ){ unset($this->postfixMyNetworks[$str]); } @@ -259,7 +259,7 @@ class goMailServer extends plugin{ $this->postfixMyDestinations[base64_encode($str)] = $str; } - if((isset($_POST['DelpostfixMyDestinations'])) && (count($_POST['Select_postfixMyDestinations']))){ + if((isset($_POST['DelpostfixMyDestinations'])) && isset($_POST['Select_postfixMyDestinations']) &&(count($_POST['Select_postfixMyDestinations']))){ foreach($_POST['Select_postfixMyDestinations'] as $str ){ unset($this->postfixMyDestinations[$str]); } -- 2.30.2