Fix: Missing global

This commit is contained in:
Laurent Destailleur 2014-06-05 22:42:49 +02:00
parent 6029818be6
commit 03ca7e6b63

View File

@ -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='')
{
global $langs,$conf,$hookmanager;
global $langs,$conf,$user,$hookmanager;
global $bc;
// filedir = $conf->...->dir_ouput."/".get_exdir(id)