Correctly calculate frameset hight for non-upload enabled users

This commit is contained in:
Daniel Winzen
2020-05-02 18:23:35 +02:00
parent d58fdeee8b
commit 95c1faf1d9

View File

@ -1415,7 +1415,7 @@ function send_frameset(){
}else{ }else{
$bottom=''; $bottom='';
} }
if(($U['status']>=5 || ($U['status']>2 && get_count_mods()==0)) && get_setting('enfileupload')){ if(($U['status']>=5 || ($U['status']>2 && get_count_mods()==0)) && get_setting('enfileupload')>0 && get_setting('enfileupload')<=$U['status']){
$postheight=120; $postheight=120;
}else{ }else{
$postheight=100; $postheight=100;