summaryrefslogtreecommitdiffstats
path: root/phpfspot_db.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-06 17:48:50 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-06 17:48:50 +0100
commit3966667f0817ca935d214762830800f66b867855 (patch)
treed1ef73c2e9f56b4ccf3eab41b67365bd6fb72157 /phpfspot_db.php
parente54e729719c29d263c140d91fd3b93167ceb188e (diff)
fetchSingleRow wasn't used before and produced a bug. fixed now.
Signed-off-by: Arun Persaud <arun@nubati.net> Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
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;