Skip to content

Commit

Permalink
php 5.3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Jan 6, 2019
1 parent 7d2fb99 commit 55b2d1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion administrator/components/com_privacy/models/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ public function getRequestFormPublished()
if (JLanguageMultilang::isEnabled())
{
// Find the Itemid of the home menu item tagged to the site default language
$defaultSiteLanguage = JComponentHelper::getParams('com_languages')['site'];
$params = JComponentHelper::getParams('com_languages');
$defaultSiteLanguage = $params->get('site');

$db = $this->getDbo();
$query = $db->getQuery(true)
Expand Down

0 comments on commit 55b2d1c

Please sign in to comment.