Fix: avoid foreach error
This commit is contained in:
parent
1fd9f5e1fb
commit
c3997194b2
@ -44,6 +44,7 @@ $ref = GETPOST('ref');
|
|||||||
$mode = (GETPOST('mode') ? GETPOST('mode') : 'byunit');
|
$mode = (GETPOST('mode') ? GETPOST('mode') : 'byunit');
|
||||||
$error = 0;
|
$error = 0;
|
||||||
$mesg = '';
|
$mesg = '';
|
||||||
|
$graphfiles=array();
|
||||||
|
|
||||||
$socid='';
|
$socid='';
|
||||||
if (! empty($user->societe_id)) $socid=$user->societe_id;
|
if (! empty($user->societe_id)) $socid=$user->societe_id;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user