Postible Problem with NULL in \plugins\chronoforms\admin\chronoforms\functions\upload\upload_output.php

Collie-IT 16 Feb, 2021
[div wfd-id="155"]Dear Support,[div wfd-id="154"]I found out that $fname = $config['fieldname']; in \plugins\chronoforms\admin\chronoforms\functions\upload\upload_output.php in Line 148 can be NULL.
I strongly suggest to make a check before the foreach.

Something like
if(isset($fname) && is_array($fname) && sizeof($fname)>0){
foreach($fname as $keysData => $dataname){
Best regards
Collie-IT
Max_admin 20 Feb, 2021
no, that should not be null, or you have some misconfig!

are you using the upload action or the global upload files ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.