Skip to content
Snippets Groups Projects
Commit d6748dbf authored by Sascha Egerer's avatar Sascha Egerer Committed by Markus Klein
Browse files

[BUGFIX] Do not use array assignment for string variable

In PHP 7.1 it is not possible anymore to assign a value to
a variable of type string with `[]` appended. In older PHP
versions the variables was silently converted to an array but
in PHP 7.1 a warning is thrown.
Beside that the variable must be of type string anyway and not
an array.

Resolves: #79709
Releases: master
Change-Id: Ie36dcf89cff23e7837d1f559cd05b3f9f448360e
Reviewed-on: https://review.typo3.org/51608


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarJohannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: default avatarJohannes Kasberger <johannes.kasberger@reelworx.at>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent c8d94612
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment