Skip to content

Commit

Permalink
#8470 fixed help site link per user issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronak Parmar committed Nov 30, 2015
1 parent 6b57657 commit e2d9e9e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/com_users/controllers/profile.json.php
Expand Up @@ -42,7 +42,13 @@ public function gethelpsites()
throw new Exception(JText::_('COM_CONFIG_ERROR_HELPREFRESH_ERROR_STORE'), 500);
}

$options = JHelp::createSiteList(JPATH_ADMINISTRATOR . '/help/helpsites.xml');
$options = array_merge(
array(
JHtml::_('select.option', '', JText::_('JOPTION_USE_DEFAULT'))
),
JHelp::createSiteList(JPATH_ADMINISTRATOR . '/help/helpsites.xml')
);

echo json_encode($options);
JFactory::getApplication()->close();
}
Expand Down

0 comments on commit e2d9e9e

Please sign in to comment.