Skip to content

Commit

Permalink
Update module.php
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNGarrett committed Sep 11, 2016
1 parent 68074eb commit 1b32a5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions administrator/components/com_modules/controllers/module.php
Expand Up @@ -204,6 +204,11 @@ public function save($key = null, $urlVar = null)
$item = $model->getItem($this->input->get('id'));
$properties = $item->getProperties();

if(isset($data['params']))
{
unset($properties['params']);
}

// Replace changed properties
$data = array_replace_recursive($properties, $data);

Expand Down

0 comments on commit 1b32a5c

Please sign in to comment.