define checkboxes

This commit is contained in:
lopar 2019-06-22 17:24:20 +03:00
parent 4fe471ef27
commit e4fc8ffe40

View File

@ -66,7 +66,7 @@ if (!empty($login) AND $action == 'edit_status') {
db::c()->query('UPDATE `users` SET `status` = "?s" WHERE `id` = ?i', $st, $sok['id']);
$sok['status'] = $st;
}
if ((!empty($_POST['vin']) OR !empty($_POST['tus'])) AND $klan['glava'] == $_SESSION['uid']) {
if ($klan['glava'] == $_SESSION['uid']) {
if (!empty($_POST['vin'])) $polno[$sok['id']][0] = 1;
else $polno[$sok['id']][0] = 0;