missing function keyword for process_ajax_request()
[phpfspot.git] / phpfspot_db.php
index 4e87cf9c87927978eb2ed671d7554cc5e2fe5458..e9c99ce62ad906e5345a154c275f1d5d6959bd59 100644 (file)
@@ -202,7 +202,7 @@ class PHPFSPOT_DB {
          $result = $this->db_query($query);
          switch($this->parent->cfg->db_access) {
             case 'native':
-               $row = $result->fetchRow();
+               $row = $this->db_fetch_object($result);
                break;
             case 'pdo':
                $row = $result[0];