From: hickert Date: Tue, 11 Jul 2006 04:00:00 +0000 (+0000) Subject: Also allow 0 as release name X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b70ff8e0fc91d1d02d547e6489eb5b86e24085cb;p=gosa.git Also allow 0 as release name git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4082 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 3282b8a04..057cf420b 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -780,12 +780,10 @@ class faiManagement extends plugin 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); }