Skip to content

Commit

Permalink
Merge pull request #980 from tarasfrompir/patch-21
Browse files Browse the repository at this point in the history
Update module.class.php
  • Loading branch information
sergejey committed Jul 14, 2021
2 parents 412b794 + ee278c3 commit f17966e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module.class.php
Expand Up @@ -203,7 +203,7 @@ public function restoreParams()

// setting params for current module
// module has instance in params
if ($cr['instance'] != '') {
if (isset($cr['instance']) && $cr['instance'] != '') {
$instance_params[$module_name][$cr['instance']] = $cr;
} else {
// module has no instance
Expand Down

0 comments on commit f17966e

Please sign in to comment.