Browse code

blocks/menu/menu.php: fix array to string conversion warning for PHP 8 - proper fix

Clarissa Walker authored on 2026/09/15 06:55:16
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 <?php
2 2
 if(!defined("_CHARSET")) exit( );
3 3
 
4
-$content = (int) $content;
4
+$content = '';
5 5
 
6 6
 	if(isset($blocks[$block]['content'])) {
7 7
 		foreach($blocks[$block]['content'] as $page) {