Code clean. Убираем идиотские ошибки.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 15:52:51 +03:00
parent f6b469ddef
commit 733d1cf87b
4 changed files with 16 additions and 21 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ if (isset($_GET['online']) && $_GET['online'] != null) {
$_GET['text'] = preg_replace('/private \[klan-([a-zA-Z]*)\]/', '', $_GET['text']);
if ($user['klan'] == '') {
if (empty($user->clan)) {
$_GET['text'] = str_replace('private [klan]', '', $_GET['text']);
$_GET['text'] = str_replace('private [klan]', 'private [klan-' . $user['klan'] . ']', $_GET['text']);
} else {