From: Andreas Unterkircher Date: Sun, 6 Jan 2008 16:48:50 +0000 (+0100) Subject: fetchSingleRow wasn't used before and produced a bug. fixed now. X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3966667f0817ca935d214762830800f66b867855;p=phpfspot.git fetchSingleRow wasn't used before and produced a bug. fixed now. Signed-off-by: Arun Persaud Signed-off-by: Andreas Unterkircher --- 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;