Empty prefix/suffix generates Warning!

marcoBauli - September 4, 2006 - 21:19
Project:Form Markup
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I activated with success the module and works sweet now.

Only problem is that if i do not fill all the prefix/suffix widget-fields with something, when i display my content-types submission form i get the following Warning:

warning: Invalid argument supplied for foreach() in /home/kiteatla/public_html/drupal/modules/form_markup/form_markup.module on line 47.

Note: i tryed also on another site, and can tell that this happens ONLY with the latest cvs version of CCK (v 1.56.2.17 2006/08/21) and eventually could be related to this other cck issue here.

#1

mh86 - September 4, 2006 - 22:02

As far as I know, this bug has been fixed. What version are you using? (error only occurs with form_markup 1.3). I don't think there is a relation between the reported cck bug and this error.

#2

marcoBauli - September 4, 2006 - 22:49
Status:active» fixed

Oops, yes, you are right mh86...actually on the other site i didn't update form_markup.module to the latest version.

It is working sweet on both sites now, thanks!

setting this as fixed

#3

mh86 - September 6, 2006 - 12:38
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.