From: hickert Date: Wed, 12 Jul 2006 05:31:54 +0000 (+0000) Subject: Fixed remove flag toggle X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8c916acaa3c4208c4ec811beda10ed4fa90c30fe;p=gosa.git Fixed remove flag toggle git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4110 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPackage.inc b/plugins/admin/fai/class_faiPackage.inc index 26b10f27d..3c35bf755 100644 --- a/plugins/admin/fai/class_faiPackage.inc +++ b/plugins/admin/fai/class_faiPackage.inc @@ -421,13 +421,15 @@ class faiPackage extends plugin $dsc= ""; if (preg_match('/^-/', $usedName)){ $dsc= " - "._("Package marked for removal"); - $usedName= preg_replace('/^-/', '! ', $usedName); + $usedName2= preg_replace('/^-/', '! ', $usedName); + }else{ + $usedName2= $usedName; } if(isset($this->list[$usedName][1])){ - $a_ret[$usedName] = $usedName." [".$this->list[$usedName][1]."]".$c_str.$dsc; + $a_ret[$usedName] = $usedName2." [".$this->list[$usedName][1]."]".$c_str.$dsc; }else{ - $a_ret[$usedName] = $usedName.$c_str.$dsc; + $a_ret[$usedName] = $usedName2.$c_str.$dsc; } } }