Closed (fixed)
Project:
Weight
Version:
7.x-2.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2012 at 19:26 UTC
Updated:
11 Apr 2012 at 15:30 UTC
I keep getting these messages when access admin/content:
Notice: Undefined index: und at weight_form_node_admin_content_alter() (line 124 from sites/all/modules/weight/weight.module).
Current workaround is to substitute line 124 from weight.module with the following code:
#default_value' => isset($node->weight[LANGUAGE_NONE][0]['value']) ? $node->weight[LANGUAGE_NONE][0]['value'] : 0,
But I have no idea whether this is the origin of the problem or just a symptom.
Comments
Comment #1
davisbenI just committed a major overhaul to the weight field system that should eliminate this problem.