mirror of
https://github.com/openvk/openvk
synced 2025-07-07 00:09:48 +03:00
Фикс блокировки, если дата разблокировки не указана
This commit is contained in:
parent
5353ef3543
commit
1db5880e65
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ final class AdminPresenter extends OpenVKPresenter
|
|||
if (str_contains($this->queryParam("reason"), "*"))
|
||||
exit(json_encode([ "error" => "Incorrect reason" ]));
|
||||
|
||||
$unban_time = strtotime($this->queryParam("date")) ?: NULL;
|
||||
$unban_time = strtotime($this->queryParam("date")) ?: "permanent";
|
||||
|
||||
$user = $this->users->get($id);
|
||||
if(!$user)
|
||||
|
|
Loading…
Reference in a new issue