fix typo that prevented queries to be loaded by slug
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 17 Jan 2011 16:51:45 +0000 (16:51 +0000)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 17 Jan 2011 16:52:19 +0000 (16:52 +0000)
whups/lib/Query.php

index 134fce9..987b9e2 100644 (file)
@@ -921,7 +921,7 @@ class Whups_QueryManager {
             $shares = $this->_shareManager->listShares(
                 $GLOBALS['registry']->getAuth(),
                 array('perm' => Horde_Perms::READ,
-                      'attribtues' => array('slug' => $slug)));
+                      'attributes' => array('slug' => $slug)));
         } catch (Horde_Share_Exception $e) {
             throw new Whups_Exception($e);
         }