Code

Updated error msg.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Nov 2006 04:28:14 +0000 (04:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Nov 2006 04:28:14 +0000 (04:28 +0000)
There were wrong parameters used for the error msg. Result was
something like this " .. 'siga' could not be found, setting release to 'siga'"

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5018 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc

index 91492be74e73b12d4b2599d4aa4cca81d1639c69..4c84648265be1e65665ad902c3c037b1317548f6 100644 (file)
@@ -911,12 +911,13 @@ class appgroup extends plugin
       if(isset($tmp[$this->FAIrelease])){
         $base =  $tmp[$this->FAIrelease];
       }else{
+        $old_r =  $this->FAIrelease;
         $k = key($tmp);
         $r = $tmp[$k];
         $this->FAIrelease = $k;
         $base = $r; 
     
-        print_red(sprintf(_("Can't resolve the release name '%s', setting release name to '%s'. Possibly the objects base has changed."),$this->FAIrelease,$k));
+        print_red(sprintf(_("Can't resolve the release name '%s', setting release name to '%s'. Possibly the objects base has changed."),$old_r,$k));
       }
 
       $base = preg_replace("/ou=apps,.*$/","ou=apps,".$this->curbase,$base);