From: hickert Date: Mon, 12 Jul 2010 07:37:03 +0000 (+0000) Subject: Fixed mailmthod property. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=079333698092daecbb4c603fb59f086d1d7a8a9d;p=gosa.git Fixed mailmthod property. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18986 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_core.inc b/gosa-core/include/class_core.inc index 3472e3c64..eba2e040e 100644 --- a/gosa-core/include/class_core.inc +++ b/gosa-core/include/class_core.inc @@ -172,7 +172,12 @@ class core extends plugin { $list = array('mail' => 'mail','uid' => 'uid'); break; case 'mailMethod': - $list = mailMethod::get_methods(); + $tmp = mailMethod::get_methods(); + $list =array(); + foreach($tmp as $name => $value){ + $name = preg_replace('/^mailMethod/','', $name); + $list[$name] = $value; + } $list[''] = _("None"); break; case 'language':