From 6a9ebc5b52eb5b3ae8c730e877a3e54e149e209c Mon Sep 17 00:00:00 2001 From: andrepereiradasilva Date: Tue, 8 Mar 2016 11:52:31 +0000 Subject: [PATCH] solves https://github.com/joomla/joomla-cms/issues/9342 --- administrator/components/com_languages/models/installed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_languages/models/installed.php b/administrator/components/com_languages/models/installed.php index 69f6777591ff5..2161cd87b6acd 100644 --- a/administrator/components/com_languages/models/installed.php +++ b/administrator/components/com_languages/models/installed.php @@ -217,7 +217,7 @@ public function getData() foreach ($langlist as $lang) { $client = JApplicationHelper::getClientInfo($lang->client_id); - $clientPath = $lang->client_id === 0 ? JPATH_SITE : JPATH_ADMINISTRATOR; + $clientPath = (int) $lang->client_id === 0 ? JPATH_SITE : JPATH_ADMINISTRATOR; $info = JApplicationHelper::parseXMLLangMetaFile($clientPath . '/language/' . $lang->element . '/' . $lang->element . '.xml'); $row = new StdClass;