When the title is not hidden, #title_display is set to NULL, which is not a valid option for that attribute. The default set in form.inc is 'before'.
Patch is following.

Comments

Stevel’s picture

Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new7.66 KB

Attached patch sets #title_display = 'before' when the title is displayed, instead of NULL.

Using Webform 3.x HEAD, #881230: PDO exception due to calling countQuery too early., #930082: file_directory_path no longer exists in Drupal 7 and this patch I have webform working again (yay!)

edit: one more patch needed: #859860: Error creating webform content

ksenzee’s picture

Status: Needs review » Reviewed & tested by the community

This looks good and works for me also.

quicksketch’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks guys.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.