From 5a6b0639e7f6449e5d8ec1e211bdcf90ebb7483c Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Thu, 5 Jun 2025 19:53:06 +0200 Subject: [PATCH] Should fix getting no reel to repost --- app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php index a1b815b..5400a1b 100644 --- a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php +++ b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php @@ -119,7 +119,7 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces $toDownloadReels = []; // Array to store to download reels to post later $accounts = explode(",", $this->jobInfos->get("instagram_repost_accounts")); - foreach ($accounts as $account) { + foreach ($accounts as &$account) { $account = trim($account); $toDownloadReels = array_merge($toDownloadReels, $this->getLatestReelsFromAccount($browser, $account));