Issue #855150 by Liam McDermott: Fixed please remove db_fetch_object in code. it is not in Drupal 7 api.