summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92339e2)
raw | patch | inline | side by side (parent: 92339e2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Jul 2006 04:00:00 +0000 (04:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Jul 2006 04:00:00 +0000 (04:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4082 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 3282b8a0498d42b2e819a04e4a5f07e37ec2832a..057cf420be16857aefa87ef33a4f49b040349bfa 100644 (file)
function CheckNewBranchName($name,$base)
{
$f = $this->DivListFai->selectedBranch;
- if(empty($name)){
+ if($name == ""){
return(false);
}elseif(in_array($name,$this->getBranches($f))) {
return(false);
- }elseif(empty($name)){
- return(false);
}elseif(is_department_name_reserved($name,$base)){
return(false);
}