Project

General

Profile

Actions

Bug #30056

closed

Invalid use of array_shift() in t3lib_div

Added by Xavier Perseguers over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-09-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

PHP Runtime Notice: Only variables should be passed by reference in t3lib/class.t3lib_div.php line 3645:

$retVal = ($httpHostBracketPosition !== FALSE) ? substr($httpHost, 0, ($httpHostBracketPosition + 1)) : array_shift(explode(':', $httpHost));
Actions

Also available in: Atom PDF