summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8de833d)
raw | patch | inline | side by side (parent: 8de833d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Oct 2005 08:44:37 +0000 (08:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Oct 2005 08:44:37 +0000 (08:44 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1636 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiProfile.inc | patch | blob | history |
index 809a1eb2275ed23e7a9c0bf69aea57174521696b..aa6019971472662f8a41b5e8958d0a9dbc5f87a9 100644 (file)
$message[]=_("Please assign at least one class to this profile.");
}
+ if(empty($this->cn)){
+ $message[]=_("Please enter a valid name.");
+ }
+
$ldap = $this->config->get_ldap_link();
$ldap->cd($_SESSION['faifilter']['base']);
$ldap->search("(&(objectClass=FAIprofile)(cn=".$this->cn.")(!cn=".$this->old_cn."))",array("*"));