# ДоХтор (02.06.2017 / 23:11)ya and on the
The reason for the inoperability was in these two lines?
$sql = "SELECT balans_day, balans_time FROM users WHERE id = ". $systemUser->id;
$sql = "UPDATE users SET balans = balans + $balls, balans_
function restar($time, $user_id) only replace to $id..