Code

Addressbook shows entry values on delete too
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Jun 2005 06:07:42 +0000 (06:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Jun 2005 06:07:42 +0000 (06:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@603 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/addressbook/class_addressbook.inc

index 1c3c87e2af09de997950975d74620f37f83952b1..481ae069e6fb67e13df6329d1cc77e50b0a1d0bd 100644 (file)
@@ -50,6 +50,8 @@ class addressbook extends plugin
        /* Include config object */
        $this->config= $config;
 
+       print $dn;
+
        #FIXME: ACL is set to default for testing
        $this->acl= "#all#";
 
@@ -258,7 +260,7 @@ class addressbook extends plugin
                                break;
                        case "remove":
                                $this->dn= $_SESSION['show_info']; 
-
+                               $this->load();
                                /* Load permissions for selected 'dn' and check if
                                   we're allowed to remove this 'dn' */
                                $ui= get_userinfo();