Code

Fixed edit button
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Aug 2006 04:58:04 +0000 (04:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Aug 2006 04:58:04 +0000 (04:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4403 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/posix/main.inc

index 252de94946a0cd65c8a8d9ab3103ddc9d8c35c21..9e4b15dd935b6cd812763a4343b6b58d7d15b0c4 100644 (file)
@@ -107,7 +107,7 @@ if (!$remove_lock){
              "\"> ".$ui->dn."&nbsp;";
 
       /* Only display edit button if there is at least one attribute editable */
-      if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/user"))){
+      if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/posixAccount"))){
         $info.= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lamp.png')."\"> ".
           _("Click the 'Edit' button below to change informations in this dialog");