diff --git a/backup/util/helper/restore_decode_processor.class.php b/backup/util/helper/restore_decode_processor.class.php index 8716029881f..66dfbef5556 100644 --- a/backup/util/helper/restore_decode_processor.class.php +++ b/backup/util/helper/restore_decode_processor.class.php @@ -63,7 +63,7 @@ class restore_decode_processor { public function add_rule($rule) { if (!$rule instanceof restore_decode_rule) { - throw new restore_decode_processor_exception('incorrect_restore_decode_rule', get_class($content)); + throw new restore_decode_processor_exception('incorrect_restore_decode_rule', get_class($rule)); } $rule->set_restoreid($this->restoreid); $rule->set_wwwroots($this->sourcewwwroot, $this->targetwwwroot);