mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
More PHP 8.1 fixes.
This commit is contained in:
@@ -432,7 +432,7 @@ function handle_upload_messages(&$upload_array, $errors_only = TRUE, $use_handle
|
||||
{
|
||||
// Display error messages, accumulate FMESSAGE
|
||||
// Write as a separate routine - returns all messages displayed. Option to only display failures.
|
||||
$f_message = '';
|
||||
$f_message = [];
|
||||
foreach ($upload_array as $k=>$r)
|
||||
{
|
||||
if (!$errors_only || $r['error'])
|
||||
|
Reference in New Issue
Block a user