From 6fa15257003394d495f84a8dedebadfa8e1fa375 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 13 Jul 2022 11:35:46 +0200 Subject: sms-forward: update initialization of empty array Having the parenthesis here is important for valid syntax! --- sms-forward | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sms-forward b/sms-forward index b392805..aa2e71c 100644 --- a/sms-forward +++ b/sms-forward @@ -33,7 +33,7 @@ $WaitFullyConnected; :while ([ :len [ /tool/sms/inbox/find ] ] > 0) do={ :local Phone [ /tool/sms/inbox/get ([ find ]->0) phone ]; :local Messages ""; - :local Delete [ :toarray "" ]; + :local Delete ({}); :foreach Sms in=[ /tool/sms/inbox/find where phone=$Phone ] do={ :local SmsVal [ /tool/sms/inbox/get $Sms ]; -- cgit v1.2.3-70-g09d2