Problem/Motivation
With the release of PHP 7.4, there was a change in the implode function:
Passing the glue after the pieces (i.e. not using the documented order of parameters) has been deprecated.
This causes this code in line 194 of features.ctools.inc to emit a PHP notice:
$code = explode('}', implode($code, "{\n"));
Proposed resolution
See attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| features.patch | 684 bytes | ennorehling |
Comments
Comment #2
donquixote commentedFixed in #3075578: implode() called with wrong parameter order in ctools_component_features_export_render(). (PHP 7.4)
It is time I make a release!