Code

Password is must too
[gosa.git] / plugins / admin / systems / class_goNtpServer.inc
index fa6e11c072eddfef8b5f9071b937bfa7f227f118..b7577f202c4af287ff917fcbec2a38cd6d9b611e 100644 (file)
@@ -48,7 +48,7 @@ class goNtpServer extends plugin{
     }
 
     /* Deleting an Entry, is a bit more complicated than adding one*/
-    if(isset($_POST['DelNTPEnt'])) {
+    if((isset($_POST['DelNTPEnt'])) && (isset($_POST['goTimeSource']))) {
       foreach ($_POST['goTimeSource'] as $entry){
         if (isset($this->goTimeSource[$entry])){
           unset($this->goTimeSource[$entry]);