mirror of
https://github.com/openvk/openvk
synced 2025-04-19 14:43:01 +03:00
Fix syntax error
This commit is contained in:
parent
8dcafff002
commit
6133c5a27c
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class Users
|
||||||
{
|
{
|
||||||
$user = $this->toUser($this->users->where("shortcode", $url)->fetch());
|
$user = $this->toUser($this->users->where("shortcode", $url)->fetch());
|
||||||
if($user)
|
if($user)
|
||||||
return $user
|
return $user;
|
||||||
else if ($handleId == true)
|
else if ($handleId == true)
|
||||||
{
|
{
|
||||||
preg_match("/id([0-9]+)/", $url, $id);
|
preg_match("/id([0-9]+)/", $url, $id);
|
||||||
|
|
Loading…
Reference in a new issue