index 3c804fabe066df6f8e512ad450be7cafaca22bb4..729d9d5c15e4b348d9e1f87f87770dced9a624db 100644 (file)
}
/* Only display edit button if there is at least one attribute editable */
- if(preg_match("/w/",$ui->get_category_permissions($ui->dn,"users"))){
+ if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/user"))){
if ($fn == "edit"){
$info.= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/lamp.png')."\"> ".
_("Click the 'Edit' button below to change informations in this dialog");