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
Patch attached.
#2
Thanks, committed to Drupal 7. Does not apply to other versions, so no need to do anything down the line.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.