Closed (fixed)
Project:
Weight
Version:
7.x-2.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2012 at 08:06 UTC
Updated:
12 May 2012 at 20:40 UTC
Jump to comment: Most recent
a little mistake on the last version (RC2)
weight.module > L148
change
if (!empty($form['admin']['nodes']['#options'])) {
to
if (!empty($form_element['admin']['nodes']['#options'])) {
and then everything works just fine!
cheers.
Comments
Comment #1
sense-designThis solves the following error message:
Comment #2
Anonymous (not verified) commentedNice work!
Comment #3
interx commentedWorks for me.
EDIT:
Oops, changed the status a bit fast, still needs a proper patch ;)
Comment #4
kclarkson commentedHere are the errors I am receiving:
Notice: Undefined index: admin in weight_form_node_admin_content_alter() (line 100 weight.module).
Warning: Invalid argument supplied for foreach() in weight_form_node_admin_content_alter() (line 100 of weight.module).
Notice: Undefined index: #options in weight_node_admin() (line 138 of weight.module).
Warning: Invalid argument supplied for foreach() in weight_node_admin() (line 138 weight.module).
Comment #5
kclarkson commentedchanging back to active
Comment #6
rickmanelius commentedIn site.com/admin/content I'm seeing
Notice: Undefined index: weight in theme_tableselect() (line 3216 of /includes/form.inc).
EDIT/UPDATE: the suggested change in the issue summary clears this error.
Comment #7
rickmanelius commented@kclarkson
Where are you seeing these errors (which page/url)?
Comment #8
davisbenThanks folks! This has been committed to 7.x-2.x.
Comment #9
kgaut commentedI've not done a patch because I was very busy but i'm glad to have helped!
Nice module.
Comment #10
Anonymous (not verified) commentedApplied fix by rollingout the new dev version. Many thanks people!