From d1d71a7e54144ded72db548a629f7db9721a9c8e Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 21 Oct 2005 11:32:16 +0000 Subject: [PATCH] FAIscript is must in objectClass=FAIscriptEntry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1654 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiScriptEntry.inc | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 2.30.2