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 df41e73..807cf0f 100644
--- a/phpfspot_db.php
+++ b/phpfspot_db.php
@@ -206,7 +206,7 @@ class PHPFSPOT_DB {
$row = $this->db_fetch_object($result);
break;
case 'pdo':
- $row = $result[0];
+ $row = $result->fetch();
break;
}
return $row;