On a fresh install (profile minimal) I get this error on "Define a Parent > Child relationship" page.

    Notice: Undefined variable: parent_options in entity_collection_admin_settings_form() (line 51 of /Users/olsson/System/aegir/platforms/drupal-7.12/sites/review.loc/modules/1493998/admin/entity_collection.admin.inc).
    Notice: Undefined variable: child_options in entity_collection_admin_settings_form() (line 61 of /Users/olsson/System/aegir/platforms/drupal-7.12/sites/review.loc/modules/1493998/admin/entity_collection.admin.inc).

Comments

sankatha’s picture

Status: Active » Needs review

Added some more sanity checks but I could not reproduce this in a fresh Drupal 7.12 installation with Article and Basic page content types. However, defined the $parent_options and $child_options on the top of the function so that these notices does not throw out just in case these arrays does not get filled out/initialized further down the lines.

sankatha’s picture

Version: » 7.x-1.x-dev
Status: Needs review » Fixed
sankatha’s picture

Status: Fixed » Closed (fixed)