Add missing new.
authorJan Schneider <jan@horde.org>
Tue, 1 Feb 2011 13:51:12 +0000 (14:51 +0100)
committerJan Schneider <jan@horde.org>
Tue, 1 Feb 2011 13:51:27 +0000 (14:51 +0100)
framework/Prefs/lib/Horde/Prefs/Storage/Sql.php

index c25e6b3..e8e8ddc 100644 (file)
@@ -63,7 +63,7 @@ class Horde_Prefs_Storage_Sql extends Horde_Prefs_Storage_Base
         try {
             $result = $this->_db->selectAll($query, $values);
         } catch (Horde_Db_Exception $e) {
-            throw Horde_Prefs_Exception($e);
+            throw new Horde_Prefs_Exception($e);
         }
 
         foreach ($result as $row) {