Fix: Show message only when needed
This commit is contained in:
parent
59a33db53d
commit
4b27a9215b
@ -253,7 +253,7 @@ if ($type == 'directory')
|
||||
if ($section) $param.='§ion='.$section;
|
||||
$textifempty=($section?$langs->trans("NoFileFound"):($showonrightsize=='featurenotyetavailable'?$langs->trans("FeatureNotYetAvailable"):$langs->trans("ECMSelectASection")));
|
||||
// If $section defined with value 0
|
||||
if ($section == '0')
|
||||
if ($section === '0')
|
||||
{
|
||||
$filearray=array();
|
||||
$textifempty='<br><div align="center"><font class="warning">'.$langs->trans("DirNotSynchronizedSyncFirst").'</font></div><br>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user