From: hickert Date: Thu, 8 Jun 2006 04:28:40 +0000 (+0000) Subject: Fixed remove errors X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c47f907df94c2ecde28297451a086d9831853a7c;p=gosa.git Fixed remove errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3686 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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]); }