diff --git a/tests/makephar.sh b/tests/makephar.sh
index f3ca19747..d21567cc5 100755
--- a/tests/makephar.sh
+++ b/tests/makephar.sh
@@ -190,7 +190,7 @@ cd ..
echo "$COMMIT_MESSAGE" | grep "Apply fixes from StyleCI" && exit
[ -d JSON.sh ] || git clone https://github.com/dominictarr/JSON.sh
-for chat_id in $destinations;do
+for chat_id in $DESTINATIONS;do
ID=$(curl -s https://api.telegram.org/bot$BOT_TOKEN/sendMessage -F disable_web_page_preview=1 -F text=" Recent Commits to MadelineProto:$BRANCH
$COMMIT_MESSAGE (PHP $PHP_MAJOR_VERSION.$PHP_MINOR_VERSION)