From 89293ce74463a4dc7af2c3c63bc2891968e127d2 Mon Sep 17 00:00:00 2001 From: loviuz Date: Wed, 13 Jul 2022 22:39:47 +0200 Subject: [PATCH 1/2] Fix checkbox per PHP8.0 --- src/HTMLBuilder/Wrapper/HTMLWrapper.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/HTMLBuilder/Wrapper/HTMLWrapper.php b/src/HTMLBuilder/Wrapper/HTMLWrapper.php index 9970c7d4f..8af8f1d5f 100755 --- a/src/HTMLBuilder/Wrapper/HTMLWrapper.php +++ b/src/HTMLBuilder/Wrapper/HTMLWrapper.php @@ -29,9 +29,10 @@ class HTMLWrapper implements WrapperInterface public function before(&$values, &$extras) { $result = ''; + $extra_class = ''; if( $values['type']=='checkbox' ){ - $values['class'] .= ' checkbox-group'; + $extra_class = 'checkbox-group'; } // Valori particolari @@ -41,7 +42,7 @@ class HTMLWrapper implements WrapperInterface // Generazione dell'etichetta if (!empty($values['label'])) { $result .= ' -
+
'; } From 0e7fd75e25f28c9f025f6900b3661b6c55e2c935 Mon Sep 17 00:00:00 2001 From: loviuz Date: Wed, 13 Jul 2022 22:42:42 +0200 Subject: [PATCH 2/2] Aggiunta ritardo avvio hooks --- include/bottom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bottom.php b/include/bottom.php index 918715b39..d3265c6a3 100755 --- a/include/bottom.php +++ b/include/bottom.php @@ -76,7 +76,7 @@ if (Auth::check()) { clock(); // Hooks - startHooks(); + setTimeout("startHooks();", 1000); // Abilitazione del cron autonoma $.get(globals.rootdir + "/cron.php");