diff --git a/modules/mri_violations/php/module.class.inc b/modules/mri_violations/php/module.class.inc index 7164fdd3560..7e9647a5039 100644 --- a/modules/mri_violations/php/module.class.inc +++ b/modules/mri_violations/php/module.class.inc @@ -79,6 +79,9 @@ class Module extends \Module $factory = \NDB_Factory::singleton(); $link = $factory->settings()->getBaseURL() . '/' . $this->getName(); + if (!class_exists('Provisioner')) { + self::registerAutoloader(); + } $provisioner = new Provisioner(); if ($user->hasPermission('violated_scans_view_allsites')) {