From: hickert Date: Fri, 21 Oct 2005 11:32:16 +0000 (+0000) Subject: FAIscript is must in objectClass=FAIscriptEntry X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d1d71a7e54144ded72db548a629f7db9721a9c8e;p=gosa.git FAIscript is must in objectClass=FAIscriptEntry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1654 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc index ec62df02b..f7a22077d 100644 --- a/plugins/admin/fai/class_faiScriptEntry.inc +++ b/plugins/admin/fai/class_faiScriptEntry.inc @@ -95,6 +95,10 @@ class faiScriptEntry extends plugin $message[] = _("Please enter a name."); } + if(empty($this->FAIscript)){ + $message[]=_("Please enter a script."); + } + return ($message); }