diff --git a/felamimail/inc/class.bofelamimail.inc.php b/felamimail/inc/class.bofelamimail.inc.php index c5725b41bd..9617ef27a9 100644 --- a/felamimail/inc/class.bofelamimail.inc.php +++ b/felamimail/inc/class.bofelamimail.inc.php @@ -107,8 +107,10 @@ function adminMenu() { - $data = Array - ( + if ($GLOBALS['phpgw_info']['server']['account_repository'] == "ldap") + { + $data = Array + ( 'description' => 'email settings', 'url' => '/index.php', 'extradata' => 'menuaction=emailadmin.uiuserdata.editUserData' @@ -118,6 +120,7 @@ global $menuData; $menuData[] = $data; + } } function appendMessage($_folderName, $_header, $_body, $_flags)