Issue Bug Closed

#34625preg_spliti does not exist

Morten Haggren 03/07/12, 09:12 updated 10/02/18, 12:17

Description

To resolve #21776 patch 12889 ( http://forge.typo3.org/attachments/13030/12889.diff )

was applied

Updated by Steffen Gebert over 1 year ago

Committed to
- trunk rev. 8933
- 4-4 rev. 8934
- 4-3 rev. 8935

However the function preg_spliti does not exist ( looks like a search & replace error s/split/preg_split/g )

it should have been

$parts = preg_split('/<title>|<\/title>/i', $content, 3);

Bug affects/is present in;
Typo3;
4.4.12
4.5.10
4.6.3
(and most likely every version since the commit)

Tested in php 5.2.17

I’m a little surprised that we’ve not noticed this before, given that the error was introduced more than a year ago.

Reviews 0

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