Patch:
# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Remotely Modified (Based On HEAD)
+++ Locally Modified (Based On LOCAL)
@@ -26,7 +26,7 @@
// Update CCK fields as needed
foreach ($list as $field) {
- if (is_array($form[$field])) {
+ if ( isset($form[$field]) && is_array($form[$field])) {
foreach (element_children($form[$field]) as $key) {
if ($form[$field][$key]['#type'] == 'text_textarea' || $form[$field][$key]['#type'] == 'text_textfield') {
$form[$field][$key]['#after_build'] = array('_maxlength_format_element');
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1508014-prevent-undefined-index-notice-1_6.x-2.0-beta2.patch | 641 bytes | jedihe |
Comments
Comment #1
jedihe commentedThis is fixed in the current dev branch. For anybody needing this fix in a proper patch against 2.0-beta2, I'm attaching it.
Comment #2
jedihe commentedClosing.