From e8bc8f7d5f8dea6906f6e61ba464353c92e87ccf Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 30 Dec 2007 11:17:16 +0100 Subject: issue82, read out F-Spot DB version to differ between different databases schemas --- phpfspot_db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpfspot_db.php') 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]; -- cgit v1.2.3-18-g5258