FIX #6621 Documents tab shows greyed out upload form even if the option to show actions not available is disabled
This commit is contained in:
parent
90a90e1a3c
commit
cd5b074a48
1 changed files with 5 additions and 0 deletions
|
|
@ -89,6 +89,11 @@ class FormFile
|
|||
}
|
||||
else
|
||||
{
|
||||
//If there is no permission and the option to hide unauthorized actions is enabled, then nothing is printed
|
||||
if (!$perm && !empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
$maxlength=$size;
|
||||
|
||||
$out = "\n\n<!-- Start form attach new file -->\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue