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 #1

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change Ib1e9af4b58202f085d1afbba2b9bd0b288a8ef58 has been pushed to the review server.
It is available at http://review.typo3.org/5083

Actions #2

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Accepted to Under Review
Actions #3

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF