Fatal error: Call to undefined function db_fetch_object()

Christian Zwahlen - October 13, 2009 - 08:38
Project:Translation template extractor
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

The page "admin/international/translate/extract" give me a error:
"Fatal error: Call to undefined function db_fetch_object() in .../sites/all/modules/potx/potx.module on line 279"

db_fetch_object() is no longer in Drupal 7, see http://drupal.org/update/modules/6/7#dbtng .

#1

Christian Zwahlen - October 13, 2009 - 09:14
Status:active» needs review

Patch attached.

AttachmentSize
potx_db_fetch.patch 586 bytes

#2

Gábor Hojtsy - November 17, 2009 - 12:31
Status:needs review» fixed

Thanks, committed to Drupal 7. Does not apply to other versions, so no need to do anything down the line.

#3

System Message - December 1, 2009 - 12:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.