mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Fix videos picker
This commit is contained in:
parent
704fdb113b
commit
3112372d01
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class Wall implements Handler
|
|||
];
|
||||
|
||||
foreach($videos as $video) {
|
||||
$res = json_decode(json_encode($video->toVkApiStruct()), true);
|
||||
$res = json_decode(json_encode($video->toVkApiStruct($this->user)), true);
|
||||
$res["video"]["author_name"] = $video->getOwner()->getCanonicalName();
|
||||
|
||||
$arr["items"][] = $res;
|
||||
|
|
Loading…
Reference in a new issue