Skip to content

Commit 5355b90

Browse files
committed
MAS v3.2.4 Fix
- Fixed Avatar Config Flag - Fixed Status Config Flag, Fix #21 Signed-off-by: Dark❶ <25451052+Dark1z@users.noreply.github.com>
1 parent f0b300f commit 5355b90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/avatar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function mas_get_no_avatar_img()
9999
public function mas_get_config_avatar($config_key = false)
100100
{
101101
// Check if Avatar is Enabled.
102-
return (bool) ($this->config['allow_avatar'] && $this->config['dark1_mas_avatar'] && ($config_key !== false) ? $this->config[$config_key] : true);
102+
return (bool) ($this->config['allow_avatar'] && $this->config['dark1_mas_avatar'] && ($config_key !== false ? $this->config[$config_key] : true));
103103
}
104104

105105

core/status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct(auth $auth, config $config)
5858
public function mas_get_config_online($config_key = false)
5959
{
6060
// Check if Online is Enabled.
61-
return (bool) ($this->config['load_onlinetrack'] && $this->config['dark1_mas_online'] && ($config_key !== false) ? $this->config[$config_key] : true);
61+
return (bool) ($this->config['load_onlinetrack'] && $this->config['dark1_mas_online'] && ($config_key !== false ? $this->config[$config_key] : true));
6262
}
6363

6464

0 commit comments

Comments
 (0)