Code

Description is no longer must field
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Oct 2005 11:34:11 +0000 (11:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Oct 2005 11:34:11 +0000 (11:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1463 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiPackage.inc
plugins/admin/fai/faiPackage.tpl

index d49d7b14bc9758831b964f1c01195ab56a0a993a..cd36ab66482c8a362d13e0c6845f5e4be94b9ef9 100644 (file)
@@ -106,9 +106,6 @@ class faiPackage extends plugin
   {
     $message= array();
     $str = utf8_encode("üöä");
-    if((empty($this->description))){
-      $message[]=_("Please enter a valid description.");
-    } 
     if((preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->description))){
       $message[]=_("Please enter a valid description.");
     }
index ea72c87b8cac207ed3ee5e6701a4974940198925..7b8f9a774337cdb286b1aa1b9bbe67974b6ea3bb 100644 (file)
@@ -16,7 +16,7 @@
                                        <tr>
                                                <td>
                                                        <LABEL for="description">
-                                                       {t}Description{/t}{$must}
+                                                       {t}Description{/t}
                                                        </LABEL>
                                                </td>
                                                <td>