Correctly calculate frameset hight for non-upload enabled users
This commit is contained in:
2
chat.php
2
chat.php
@ -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;
|
||||||
|
Reference in New Issue
Block a user