From e0fed76ecc3a54519e204e8faf2025727bc48508 Mon Sep 17 00:00:00 2001 From: "B. Endres" Date: Tue, 11 Feb 2020 09:01:03 +0100 Subject: [PATCH] [#20] fixed form processor integration --- i3val.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i3val.php b/i3val.php index acb3a59..c70da19 100644 --- a/i3val.php +++ b/i3val.php @@ -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()); + } } /**