Skip to content

Commit

Permalink
Update WallPresenter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tretdm committed Oct 25, 2023
1 parent 5e3b06a commit 6d15874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Presenters/WallPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ function renderMakePost(int $wall): void
foreach($photos as $photo)
$post->attach($photo);

if($videos->getRowCount() > 0)
if(sizeof($videos) > 0)
foreach($videos as $vid)
$post->attach($vid);

Expand Down

0 comments on commit 6d15874

Please sign in to comment.