Skip to content

Commit cfb1a8f

Browse files
committed
fix: errore su moduli con options2 a NULL
1 parent ec58816 commit cfb1a8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/aggiornamenti/modutil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ function customViewsNotStandard()
438438
function normalizeModuleOptions($text)
439439
{
440440
// Rimuovi tutti i tag BR (tutte le varianti)
441-
$text = preg_replace('/<br\s*\/?>/i', '', $text);
441+
$text = preg_replace('/<br\s*\/?>/i', '', (string)$text);
442442

443443
// Normalizza spazi multipli
444444
$text = preg_replace('/\s+/', ' ', $text);

0 commit comments

Comments
 (0)