Fix method name.
authorJan Schneider <jan@horde.org>
Thu, 20 May 2010 17:29:10 +0000 (19:29 +0200)
committerJan Schneider <jan@horde.org>
Thu, 20 May 2010 17:29:36 +0000 (19:29 +0200)
framework/Alarm/lib/Horde/Alarm/Sql.php

index 43ba5c1..8e50f1b 100644 (file)
@@ -216,7 +216,7 @@ class Horde_Alarm_Sql extends Horde_Alarm
         $values = array(serialize($internal), $id, $user);
 
         try {
-            $this->_db->query($query, $values);
+            $this->_db->update($query, $values);
         } catch (Horde_Db_Exception $e) {
             throw new Horde_Alarm_Exception($e);
         }