Project

General

Profile

Actions

Bug #23454

closed

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

Added by Markus Klein about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-08-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

bug15562_v1.patch (695 Bytes) bug15562_v1.patch Administrator Admin, 2010-08-26 12:11
Actions #1

Updated by Steffen Gebert about 14 years ago

Committed to
- trunk rev. 8760
- 4-4 rev. 8761

Thanks for your contribution, Markus!

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF