summaryrefslogtreecommitdiffstats
path: root/phpfspot_db.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot_db.php')
-rw-r--r--phpfspot_db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpfspot_db.php b/phpfspot_db.php
index 4e87cf9..e9c99ce 100644
--- a/phpfspot_db.php
+++ b/phpfspot_db.php
@@ -202,7 +202,7 @@ class PHPFSPOT_DB {
$result = $this->db_query($query);
switch($this->parent->cfg->db_access) {
case 'native':
- $row = $result->fetchRow();
+ $row = $this->db_fetch_object($result);
break;
case 'pdo':
$row = $result[0];