I get this warning when running on php 5.4

CommentFileSizeAuthor
#2 php_warning-2577009-1.patch1.08 KBmarcelovani

Comments

marcelovani created an issue. See original summary.

marcelovani’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

Simple patch to fix the warning.

hugronaphor’s picture

The patch cleanly applies on the latest 7.x branch and it definetly fix the problem.
Proving with:
Before the fix:
https://3v4l.org/OEvqR

After the fix:

https://3v4l.org/gamMQ

hugronaphor’s picture

Status: Needs review » Reviewed & tested by the community
Osmar Manjo’s picture

Assigned: marcelovani » Unassigned

Can we apply this?

  • marcelovani committed 847151c on 7.x-1.x
    Issue #2577009 by marcelovani: PHP 5.4 strict warning: Only variables...
marcelovani’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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