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
49a7047773
commit
158f1938bb
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->count() > 0)
|
if($videos->getRowCount() > 0)
|
||||||
foreach($videos as $vid)
|
foreach($videos as $vid)
|
||||||
$post->attach($vid);
|
$post->attach($vid);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue