Undefined indexes on lines 29, 30, 31

deekayen - December 31, 2008 - 17:01
Project:Form Markup
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs review
Description

Even I'll admit this patch is not as nice looking as the current code, but for fields where #prefix and #suffix have not been defined, form_markup throws lots of undefined index notices on the node creation form. This patch basically adds more isset() checks.

AttachmentSize
form_markup-undefined_indexes.patch2.6 KB
 
 

Drupal is a registered trademark of Dries Buytaert.