Skip to content

Commit

Permalink
[#20] fixed form processor integration
Browse files Browse the repository at this point in the history
  • Loading branch information
bjendres committed Feb 11, 2020
1 parent f802418 commit e0fed76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion i3val.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_container/
*/
function i3val_civicrm_container(ContainerBuilder $container) {
$container->addCompilerPass(new Civi\I3val\ContainerSpecs());
if (class_exists("Civi\I3val\ContainerSpecs")) {
$container->addCompilerPass(new Civi\I3val\ContainerSpecs());
}
}

/**
Expand Down

0 comments on commit e0fed76

Please sign in to comment.