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');

Comments

jedihe’s picture

This is fixed in the current dev branch. For anybody needing this fix in a proper patch against 2.0-beta2, I'm attaching it.

jedihe’s picture

Status: Active » Closed (fixed)

Closing.