Update WallPresenter.php

This commit is contained in:
Dmitry Tretyakov 2023-10-25 18:23:34 +07:00
parent 5e3b06a05b
commit 6d1587471c

View file

@ -332,7 +332,7 @@ final class WallPresenter extends OpenVKPresenter
foreach($photos as $photo)
$post->attach($photo);
if($videos->getRowCount() > 0)
if(sizeof($videos) > 0)
foreach($videos as $vid)
$post->attach($vid);