Code

FAIscript is must in objectClass=FAIscriptEntry
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 Oct 2005 11:32:16 +0000 (11:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 Oct 2005 11:32:16 +0000 (11:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1654 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiScriptEntry.inc

index ec62df02b18b4103c31b8eefdf86e74f185bb85f..f7a22077d0abaa23f784d1606ed41eaf8f8a1397 100644 (file)
@@ -95,6 +95,10 @@ class faiScriptEntry extends plugin
       $message[] = _("Please enter a name.");
     }
 
+    if(empty($this->FAIscript)){
+      $message[]=_("Please enter a script.");
+    }
+
     return ($message);
   }