Code

Added http://servername/ppd/ to gotoPrinterPPD
[gosa.git] / plugins / admin / fai / class_askClassName.inc
index d7cb25485939e9b482f07448de472381a646e358..9aa4aa826832cbe26f9ca596929a46f1cf10dfaa 100644 (file)
@@ -26,6 +26,9 @@ class askClassName extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       plugin::execute();
+
     /* Fill templating stuff */
     $smarty = get_smarty();
     $display= "";
@@ -130,10 +133,6 @@ class askClassName extends plugin
       $message[]=_("The specified class name is already in use for this object type.");
     }
 
-    if(preg_match("/[^a-z0-9]/i",$this->ClassName)){
-      $message[]=_("Please enter a valid class name. Only 0-9 a-z is allowed here.");
-    }
     return ($message);
   }