summaryrefslogtreecommitdiffstats
path: root/phpfspot_db.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot_db.php')
-rw-r--r--phpfspot_db.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpfspot_db.php b/phpfspot_db.php
index 96648be..6c86563 100644
--- a/phpfspot_db.php
+++ b/phpfspot_db.php
@@ -101,7 +101,7 @@ class PHPFSPOT_DB {
if($this->getConnStatus()) {
if(($result = sqlite3_query($this->db, $query)) === false)
- $this->trowError($this->getLastError());
+ $this->ThrowError($this->getLastError());
return $result;
}
@@ -237,8 +237,7 @@ class PHPFSPOT_DB {
private function getLastError()
{
-
- return sqlite3_error_string(sqlite3_last_error($this->db));
+ return sqlite3_error($this->db);
} // getLastError()