From b70ff8e0fc91d1d02d547e6489eb5b86e24085cb Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 Jul 2006 04:00:00 +0000 Subject: [PATCH] Also allow 0 as release name git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4082 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiManagement.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); } -- 2.30.2