Updates and cleanup

This commit is contained in:
genuineparts 2025-06-03 08:40:33 +02:00
parent 99a9ed919e
commit e4dc428379
11 changed files with 340 additions and 395 deletions

View file

@ -108,7 +108,7 @@ class chat extends ajax_module{
}else{
$notice='notice_on.png';
}
$result = $db->query("SELECT * FROM `aa_v_nickpage` WHERE `username`='".$nick."'");
$result = $db->query("SELECT * FROM `aa_v_nickpage` WHERE `username`='".$user->nick."'");
$gender = $db->fetch_array($result);
if($gender['fid3']=='m'){
$gen='male';