Skip to content

Commit

Permalink
solves #9342
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepereiradasilva committed Mar 8, 2016
1 parent 2cbe712 commit 6a9ebc5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
Expand Down

0 comments on commit 6a9ebc5

Please sign in to comment.