diff --git a/backup/util/helper/restore_log_rule.class.php b/backup/util/helper/restore_log_rule.class.php index bb7d4e3faa4..6e182c019b1 100644 --- a/backup/util/helper/restore_log_rule.class.php +++ b/backup/util/helper/restore_log_rule.class.php @@ -97,7 +97,10 @@ class restore_log_rule implements processable { return $this->module . '-' . $this->action; } - public function process($log) { + public function process($inputlog) { + + // There might be multiple rules that process this log, we can't alter it in the process of checking it. + $log = clone($inputlog); // Reset the allpairs array $this->allpairs = array();