Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Notices are raised every time a vocabulary is added:
Notice: Undefined index: module in nodeorder_form_alter() (line 39 of ....\sites\all\modules\contrib\nodeorder\nodeorder.module).
Notice: Undefined index: module in nodeorder_taxonomy_form_vocabulary_submit() (line 69 of ....\sites\all\modules\contrib\nodeorder\nodeorder.module).
Comment | File | Size | Author |
---|---|---|---|
#2 | nodeorder-notices_raised-1678864-2.patch | 4.84 KB | ben.kyriakou |
Comments
Comment #1
mfernea CreditAttribution: mfernea commentedComment #2
ben.kyriakou CreditAttribution: ben.kyriakou commentedPatch attached. I've swapped to use the vocabulary stored in the form where appropriate as per the taxonomy module, and added checks to make sure that the form alterations are only applied to the editing form. Since there currently doesn't appear to be any behaviour on term deletion, not having the submit handler attached shouldn't break anything.
Comment #4
dieuwe