From 95c1faf1d9cb9a4bf960b02fcf86bf08acb4ad0a Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sat, 2 May 2020 18:23:35 +0200 Subject: [PATCH] Correctly calculate frameset hight for non-upload enabled users --- chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.php b/chat.php index c438f42..8cd8160 100644 --- a/chat.php +++ b/chat.php @@ -1415,7 +1415,7 @@ function send_frameset(){ }else{ $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; }else{ $postheight=100;