During an upgrade from Drupal 6 to Drupal 7 I encountered a PHP fatal because the update function iframe_get_mymodule_fields() calls iframe_field_info() without loading the file it was defined in. Adding a call to load the .module file via module_load_include() will prevent this fatal.
Patch for review also contains some minor whitespace and code style cleanup.
| Comment | File | Size | Author |
|---|---|---|---|
| iframe-update-fatal.patch | 2.92 KB | jenlampton |
Comments
Comment #2
neffets commentedworks as aspected