Skeleton: Typo
authorBen Klang <ben@alkaloid.net>
Mon, 17 May 2010 22:03:43 +0000 (18:03 -0400)
committerBen Klang <ben@alkaloid.net>
Tue, 18 May 2010 01:01:26 +0000 (21:01 -0400)
skeleton/lib/Driver/Sql.php

index d8697bf..6ac8791 100644 (file)
@@ -91,7 +91,7 @@ class Skeleton_Driver_Sql extends Skeleton_Driver
         /* Execute the query. */
         $result = $this->_db->query($query, $values);
 
-        if (is_a($result instanceof PEAR_Error)) {
+        if ($result instanceof PEAR_Error) {
             throw new Horde_Exception_Prior($result);
         }