Fix listing owner shares.
authorJan Schneider <jan@horde.org>
Mon, 8 Nov 2010 20:19:18 +0000 (21:19 +0100)
committerJan Schneider <jan@horde.org>
Mon, 8 Nov 2010 20:24:22 +0000 (21:24 +0100)
nag/lib/Nag.php

index 41a7841..bb932c7 100644 (file)
@@ -376,7 +376,8 @@ class Nag
         try {
             $tasklists = $GLOBALS['nag_shares']->listShares(
                 $GLOBALS['registry']->getAuth(),
-                array('perm' => $permission, $owneronly ? $GLOBALS['registry']->getAuth() : null,
+                array('perm' => $permission,
+                      'attributes' => $owneronly ? $GLOBALS['registry']->getAuth() : null,
                       'sort_by' => 'name'));
         } catch (Horde_Share_Exception $e) {
             Horde::logMessage($e->getMessage(), 'ERR');