Issue Bug Closed

#23454PHP warning because of wrong parameter to str_pad() in t3lib_div

Markus Klein 08/26/10, 12:08 updated 10/02/18, 12:22

Description

A PHP warning is thrown as str_pad function is called with 4 paramters, where 4th parameter is given as string instead of constant.

Applies to 4.5 and 4.4.
Didn’t test on 4.3 or lower.

Searched the whole core for all appearances of this.

Fill IP addresses e.g. in [devIPmask] and go to Installer

Trivial thing, just remove the quotes around the 4th parameter.
(issue imported from #M15562)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.