projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new information icon
[phpfspot.git]
/
phpfspot_db.php
diff --git
a/phpfspot_db.php
b/phpfspot_db.php
index 96648be65cd09318180d2515d64bb13b18f2b247..6c86563ed962ca8b813aae3ff3b1bdb4a42048a4 100644
(file)
--- 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)
if($this->getConnStatus()) {
if(($result = sqlite3_query($this->db, $query)) === false)
- $this->
t
rowError($this->getLastError());
+ $this->
Th
rowError($this->getLastError());
return $result;
}
return $result;
}
@@
-237,8
+237,7
@@
class PHPFSPOT_DB {
private function getLastError()
{
private function getLastError()
{
-
- return sqlite3_error_string(sqlite3_last_error($this->db));
+ return sqlite3_error($this->db);
} // getLastError()
} // getLastError()