Project

General

Profile

Actions

Bug #16458

closed

PHP 5 array merge error in t3lib_div line 538

Added by Lucas_Birk over 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-08-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Direct Mail uncovers an array_merge() error when sending a Quick Mail if the PHP version is 5.
The error is not from the Direct Mail plugin but rather in t3lib_div.php on line 538.
PHP 5 only accepts parameters of the type array(). One possible solution would be to use typecasting by changing line 538 from:

00538 $outArr = array_merge($outArr,t3lib_div::breakLinesForEmail($lStr,$implChar,$charWidth));

to:

$outArr = array_merge($outArr,(array)t3lib_div::breakLinesForEmail($lStr,$implChar,$charWidth));

(issue imported from #M4021)

Actions #1

Updated by Martin Kutschker about 18 years ago

Fixed in SVN.

Actions

Also available in: Atom PDF