Code

Added title tag
[gosa.git] / plugins / admin / systems / class_printGeneric.inc
index b5fc453416b91f881ee89b2c8960bb481ed5a122..7c51299fe51f3e6c49e77dbf020cce1e3f62d089 100644 (file)
@@ -602,6 +602,11 @@ class printgeneric extends plugin
       $message[]= "The required field 'Printer name' is not set.";
     }
     
+    /* must: labeledURI */
+    if(empty($this->labeledURI)){
+      $message[]= "The required field 'Printer URL' is not set.";
+    }
+    
     /* Check if there is already an entry with this cn*/
     if (($this->orig_dn != $dn)&&($this->BelongsTo == "Printer")){
       $ldap= $this->config->get_ldap_link();