Fiyed user constructor
This commit is contained in:
parent
f0b5a5dc50
commit
171b4a0ec6
@ -75,7 +75,7 @@ class Poll
|
|||||||
}
|
}
|
||||||
$this->prompt = $data['prompt'];
|
$this->prompt = $data['prompt'];
|
||||||
if (!empty($data['user'])) {
|
if (!empty($data['user'])) {
|
||||||
$this->user = new User($data['user']);
|
$this->user = new User($data['user'], $this->api);
|
||||||
}
|
}
|
||||||
if (!empty($data['source'])) {
|
if (!empty($data['source'])) {
|
||||||
$this->source = new Source($data['source']);
|
$this->source = new Source($data['source']);
|
||||||
|
Loading…
Reference in New Issue
Block a user