Whenever I add a page break or a hidden field I get the following message:

Notice: Only variable references should be returned by reference in_webform_conditional_get_field() (line 608 of/Applications/MAMP/htdocs/xxx.com/sites/all/modules/webform_conditional/webform_conditional.module).

When I add the page break, I get multiple repeats of the message.

Comments

robertom’s picture

Status: Active » Needs review
StatusFileSize
new378 bytes

The problem is due to return NULL directly.

This is a proposed patch.

brightbold’s picture

Nice! Fixed it for me, thanks.

tedbow’s picture

@robertom,
Thanks again commited to 6 & 7 dev branches

tedbow’s picture

Status: Needs review » Closed (fixed)