After running the update.php page I got that error.

Comments

logaritmisk’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new719 bytes

'fieldable' is not required (hook_entity_info) so there need to be a check to see if has a value.

plach’s picture

Status: Needs review » Needs work

Thanks for the patch.

+++ b/title.module
@@ -25,7 +25,7 @@ module_load_include('inc', 'title', 'title.core');
+    if (isset($entity_info['fieldable']) && $entity_info['fieldable'] && !empty($info[$entity_type]['field replacement'])) {

Can we collapse the first two checks into a !empty($entity_info['fieldable']) one?

plach’s picture

Status: Needs work » Fixed

Performed the clean-up myself on commit. Committed and pushed, thanks.

Status: Fixed » Closed (fixed)

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

  • Commit 03fba58 on 7.x-1.x, workbench authored by logaritmisk, committed by plach:
    Issue #1396450 by logaritmisk | mgifford: Fixed Notice: Undefined index...