Fixed format typo that remove a string

This commit is contained in:
2017-12-15 02:26:45 +02:00
parent d3cbea5c82
commit 8ac350e62b
65 changed files with 374 additions and 343 deletions

View File

@ -53,6 +53,7 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
$this->user = JFactory::getUser();
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('custom_code');
$this->canEdit = $this->canDo->get('custom_code.edit');
@ -158,13 +159,13 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
$help_url = ComponentbuilderHelper::getHelpUrl('custom_codes');
if (ComponentbuilderHelper::checkString($help_url))
{
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
}
// add the options comp button
if ($this->canDo->get('core.admin') || $this->canDo->get('core.options'))
{
JToolBarHelper::preferences('com_componentbuilder');
JToolBarHelper::preferences('com_componentbuilder');
}
if ($this->canState)