...and fix method call
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 19 May 2010 18:33:16 +0000 (14:33 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 19 May 2010 18:33:16 +0000 (14:33 -0400)
ansel/lib/Storage.php

index f1b85f1..76a7bda 100644 (file)
@@ -359,7 +359,7 @@ class Ansel_Storage
         $sql = 'SELECT share_id FROM ' . $this->_shares->getTable()
             . ' WHERE attribute_slug IN (' . str_repeat('?, ', count($slugs) - 1) . '?)';
 
-        $stmt = $this->_shares->getReadDb->prepare($sql);
+        $stmt = $this->_shares->getReadDb()->prepare($sql);
         if ($stmt instanceof PEAR_Error) {
             throw new Horde_Exception($stmt->getMessage());
         }