summaryrefslogtreecommitdiffstats
path: root/phpfspot_db.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-12-30 11:17:16 +0100
committerAndreas Unterkircher <unki@netshadow.at>2007-12-30 11:17:16 +0100
commite8bc8f7d5f8dea6906f6e61ba464353c92e87ccf (patch)
tree9bf9c43da5c34a6b884149522cd7fc8d319ffa7c /phpfspot_db.php
parentaf140085fe603c00c7ce98435b89d2ee56a10cd9 (diff)
issue82, read out F-Spot DB version to differ between different databases schemas
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];