Fix: Missing global
This commit is contained in:
parent
6029818be6
commit
03ca7e6b63
@ -257,7 +257,7 @@ class FormFile
|
|||||||
*/
|
*/
|
||||||
function showdocuments($modulepart,$modulesubdir,$filedir,$urlsource,$genallowed,$delallowed=0,$modelselected='',$allowgenifempty=1,$forcenomultilang=0,$iconPDF=0,$maxfilenamelength=28,$noform=0,$param='',$title='',$buttonlabel='',$codelang='',$morepicto='')
|
function showdocuments($modulepart,$modulesubdir,$filedir,$urlsource,$genallowed,$delallowed=0,$modelselected='',$allowgenifempty=1,$forcenomultilang=0,$iconPDF=0,$maxfilenamelength=28,$noform=0,$param='',$title='',$buttonlabel='',$codelang='',$morepicto='')
|
||||||
{
|
{
|
||||||
global $langs,$conf,$hookmanager;
|
global $langs,$conf,$user,$hookmanager;
|
||||||
global $bc;
|
global $bc;
|
||||||
|
|
||||||
// filedir = $conf->...->dir_ouput."/".get_exdir(id)
|
// filedir = $conf->...->dir_ouput."/".get_exdir(id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user