Fix syntax error

This commit is contained in:
veselcraft 2021-12-28 18:25:41 +03:00
parent 8dcafff002
commit 6133c5a27c
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -32,7 +32,7 @@ class Users
{
$user = $this->toUser($this->users->where("shortcode", $url)->fetch());
if($user)
return $user
return $user;
else if ($handleId == true)
{
preg_match("/id([0-9]+)/", $url, $id);