From: hickert Date: Thu, 10 Apr 2008 14:13:39 +0000 (+0000) Subject: Updated phone base detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=517c63eecf73b9f199a35475faf074c601a9f9f0;p=gosa.git Updated phone base detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10335 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 != ""){