From 16ff6341d0b5b24b7d926867dcaf53169da31112 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Fri, 19 Apr 2024 09:14:53 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B07455=20-=20Fix=20regression=20from=204c7?= =?UTF-8?q?84886,=20wrong=20class=20tested?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/form/formmanager.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/form/formmanager.class.inc.php b/sources/form/formmanager.class.inc.php index 5b4c98fcf..47b7343fb 100644 --- a/sources/form/formmanager.class.inc.php +++ b/sources/form/formmanager.class.inc.php @@ -61,9 +61,9 @@ abstract class FormManager $sFormRendererClass = $aJson['formrenderer_class']; // N°7455 - Ensure form renderer class extends FormRenderer - if (false === is_a($sFormRendererClass, self::class, true)) + if (false === is_a($sFormRendererClass, FormRenderer::class, true)) { - throw new CoreException('Form renderer class must extend '.self::class); + throw new CoreException('Form renderer class must extend '.FormRenderer::class); } /** @var \Combodo\iTop\Renderer\FormRenderer $oFormRenderer */