diff --git a/source/lib/SihnonFramework/Database.class.php b/source/lib/SihnonFramework/Database.class.php index 39bc1af..9de43f6 100644 --- a/source/lib/SihnonFramework/Database.class.php +++ b/source/lib/SihnonFramework/Database.class.php @@ -167,10 +167,11 @@ class SihnonFramework_Database { $this->reconnect(); return $this->insert($sql, $bind_params, ++$count); } else { - var_dump($std_code, $driver_code, $message); throw new Sihnon_Exception_DatabaseQueryFailed($message, $driver_code); } } + + return $result; } public function update($sql, $bind_params = null, $count = 0) { @@ -197,6 +198,8 @@ class SihnonFramework_Database { throw new Sihnon_Exception_DatabaseQueryFailed($message, $driver_code); } } + + return $result; } public function errorInfo() {