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.

CommentFileSizeAuthor
iframe-update-fatal.patch2.92 KBjenlampton

Comments

jenlampton created an issue. See original summary.

neffets’s picture

Assigned: Unassigned » neffets
Status: Needs review » Fixed

works as aspected

  • jenlampton authored 48d67d0 on 7.x-1.x
    Issue #2942050 by jenlampton: PHP fatal during update: call to undefined...

Status: Fixed » Closed (fixed)

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