Strict warning: Only variables should be passed by reference in commerce_node_checkout_form_node_form_alter() (line 49 of /path/to/module/commerce_node_checkout/commerce_node_checkout.module).

Comments

fp’s picture

Status: Active » Needs review
StatusFileSize
new592 bytes

See patch.

michaellenahan’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that the patch works as expected.

mrburton’s picture

Had the same issue, and I can also confirm, that this patch works.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 1: commerce_node_checkout.fix_strict_warning.1578804.patch, failed testing.

The last submitted patch, 1: commerce_node_checkout.fix_strict_warning.1578804.patch, failed testing.

mstef’s picture

Status: Fixed » Closed (fixed)

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

Status: Closed (fixed) » Needs review