Bug fix in the custom import option.
This commit is contained in:
@ -44,7 +44,7 @@ class ###Component###Controller###View### extends JControllerLegacy
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
$model = $this->getModel('import');
|
||||
$model = $this->getModel('###View###');
|
||||
if ($model->import())
|
||||
{
|
||||
$cache = JFactory::getCache('mod_menu');
|
||||
|
@ -49,7 +49,7 @@ class ###Component###Model###View### extends JModelLegacy
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $_context = 'com_###component###.import';
|
||||
protected $_context = 'com_###component###.###view###';
|
||||
|
||||
/**
|
||||
* Import Settings
|
||||
|
Reference in New Issue
Block a user