[BUGFIX] PHP warning when no language pack is available
authorXavier Perseguers <xavier@typo3.org>
Fri, 24 Aug 2012 08:51:07 +0000 (10:51 +0200)
committerXavier Perseguers <xavier@typo3.org>
Fri, 24 Aug 2012 08:57:55 +0000 (10:57 +0200)
commitd5828b38edc9d62d81ab0b513de5d0444567c2cc
treeac148abc38480bd148257c80367d2f8fde3cb48e
parent66d5e439fffb80e066f5220bd109e82476cd0492
[BUGFIX] PHP warning when no language pack is available

Make sure to return either an array or a boolean and not a
string when retrieving the status of an translation pack.

Change-Id: Ic837026f387e370cf28a5c65866954898dc8a37c
Fixes: #40108
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/14025
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/em/classes/connection/class.tx_em_connection_ter.php