From 3966667f0817ca935d214762830800f66b867855 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 6 Jan 2008 17:48:50 +0100 Subject: fetchSingleRow wasn't used before and produced a bug. fixed now. Signed-off-by: Arun Persaud Signed-off-by: Andreas Unterkircher --- 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 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; -- cgit v1.2.3-18-g5258