Skip to content

Commit

Permalink
Changed parameter to bool (#19573)
Browse files Browse the repository at this point in the history
  • Loading branch information
demis-palma authored and zero-24 committed Feb 7, 2018
1 parent 43e13cc commit 59ed416
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function save($key = null, $urlVar = null)
$context = $this->option . '.edit.' . $this->context;
$task = $this->getTask();

$item = $model->getItem($app->getTemplate('template')->id);
$item = $model->getItem($app->getTemplate(true)->id);

// Setting received params
$item->set('params', $data);
Expand Down
2 changes: 1 addition & 1 deletion components/com_config/controller/templates/display.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function execute()

// Set backend required params
$document->setType('json');
$this->input->set('id', $app->getTemplate('template')->id);
$this->input->set('id', $app->getTemplate(true)->id);

// Execute backend controller
$serviceData = json_decode($displayClass->display(), true);
Expand Down
2 changes: 1 addition & 1 deletion components/com_config/controller/templates/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function execute()

// Set backend required params
$document->setType('json');
$this->input->set('id', $app->getTemplate('template')->id);
$this->input->set('id', $app->getTemplate(true)->id);

// Execute backend controller
$return = $controllerClass->save();
Expand Down

0 comments on commit 59ed416

Please sign in to comment.