mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
Fix syntax error
I think i should sleep... I skip even simple things like initialize the variable
This commit is contained in:
parent
6133c5a27c
commit
7557d6779b
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ class Users
|
||||||
return $user;
|
return $user;
|
||||||
else if ($handleId == true)
|
else if ($handleId == true)
|
||||||
{
|
{
|
||||||
|
$id = array();
|
||||||
preg_match("/id([0-9]+)/", $url, $id);
|
preg_match("/id([0-9]+)/", $url, $id);
|
||||||
return $this->toUser($this->users->get($id[1]));
|
return $this->toUser($this->users->get($id[1]));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue