From 517c63eecf73b9f199a35475faf074c601a9f9f0 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Apr 2008 14:13:39 +0000 Subject: [PATCH] Updated phone base detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10335 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc index 902bdad9d..379fc42e0 100644 --- a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc +++ b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc @@ -60,7 +60,7 @@ class phoneGeneric extends plugin $this->base= dn2base($ui->dn); $this->cn= ""; } else { - $this->base= preg_replace ("/^[^,]+,[^,]+,[^,]+,/", "", $this->dn); + $this->base= preg_replace ("/^[^,]+,".normalizePreg(get_ou("phoneou"))."/", "", $this->dn); } if($this->goFonMSN != ""){ -- 2.30.2