Closed (fixed)
Project:
Scald: Media Management made easy
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2018 at 16:46 UTC
Updated:
30 Dec 2018 at 17:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rudi teschner commentedComment #3
DeFr commentedAs far as I can tell, we're still supporting PHP 5.2, so we can't change that call to a pure anonymous function as introduced by PHP 5.3.
I think the best way forward is thus the attached patch, creating a real function for the callback.
Comment #4
rudi teschner commentedWow that was fast :D
I agree, no need to risk downward-compatibility.
Comment #5
dan_metille commented@DeFr Thanks, patch #3 worked well for me!
Comment #7
nagy.balint commentedThanks!
I did a quick test with and without the patch on php7.1 and i got the same output from the function.
Committed.