From 2b54ed3704d68c3f5bb1fa7c035f4cc9a1cf4d1e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 7 Nov 2006 04:28:14 +0000 Subject: [PATCH] Updated error msg. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index 91492be74..4c8464826 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -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); -- 2.30.2