mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Update WallPresenter.php
This commit is contained in:
parent
5e3b06a05b
commit
6d1587471c
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ final class WallPresenter extends OpenVKPresenter
|
||||||
foreach($photos as $photo)
|
foreach($photos as $photo)
|
||||||
$post->attach($photo);
|
$post->attach($photo);
|
||||||
|
|
||||||
if($videos->getRowCount() > 0)
|
if(sizeof($videos) > 0)
|
||||||
foreach($videos as $vid)
|
foreach($videos as $vid)
|
||||||
$post->attach($vid);
|
$post->attach($vid);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue