[BUGFIX] Fix call to strpos to find port number 78/19978/3
authorAlexander Opitz <opitz.alexander@googlemail.com>
Sun, 14 Apr 2013 22:21:19 +0000 (00:21 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 15 Apr 2013 08:22:04 +0000 (10:22 +0200)
commit932f1dd7b8390fc81b77c22baeb1c449f804787a
treeac38bd66d44a7d967e72cc9d3d99ebd5d9c94a63
parent55899f9501ea5825af796b164361c2ee946aacb8
[BUGFIX] Fix call to strpos to find port number

With the introduction of lazy database loading we introduced
a bug for database host strings with a port number. This patch
fixes the call to strpos() by switching the arguments.

Fixes: #47221
Releases: 6.1
Related: #46880
Change-Id: I1da875b7be531929f96f3496e6a1357638a80305
Reviewed-on: https://review.typo3.org/19978
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Felix Kopp
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Database/DatabaseConnection.php