From 8477c4c6a5713a7441f6e59dd60fbde9ddc55284 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 12 Dec 2005 09:44:29 +0000 Subject: [PATCH] removed $ from winstation name git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2289 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_systemManagement.inc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 99d841ebc..49ef55ccb 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -650,6 +650,9 @@ class systems extends plugin $pics = $cups.$logdb.$syslog.$imap.$samba.$nfs.$krb.$fon.$fax.$ldap; $pics = ""; + + $val['cn'][0]= preg_replace('/\$$/', '', $val['cn'][0]); + // Generate Array to Add if((isset($val['is_new']))&&(!empty($val['is_new']))){ $display= "".$val["cn"][0]." ".$val['is_new']; @@ -981,11 +984,11 @@ class systems extends plugin } else { $domain= ""; } - $terminal=$value; - $terminal['type'] ="W"; - $terminal['domain'] = $name.$domain; + $terminal=$value; + $terminal['type'] ="W"; + $terminal['domain'] = $name.$domain; } - $this->terminals[]=$terminal; + $this->terminals[]=$terminal; } } -- 2.30.2