diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-01-06 17:48:50 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-01-06 17:48:50 +0100 |
commit | 3966667f0817ca935d214762830800f66b867855 (patch) | |
tree | d1ef73c2e9f56b4ccf3eab41b67365bd6fb72157 /phpfspot_db.php | |
parent | e54e729719c29d263c140d91fd3b93167ceb188e (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.php | 2 |
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; |