X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_db.php;h=807cf0feb36ca072307497ba4d920208b4b27b3c;hp=df41e73e7bd9cc31881ca8d916ffaf405f26e878;hb=deb4800cd1e9b52f1c650d8ef0a03bcabb74ebb3;hpb=afadeef5cc359b4b3cb8372de1d2424691787807 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;