Skip to content

Commit 6fa1525

Browse files
committed
sms-forward: update initialization of empty array
Having the parenthesis here is important for valid syntax!
1 parent d6337fc commit 6fa1525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sms-forward

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $WaitFullyConnected;
3333
:while ([ :len [ /tool/sms/inbox/find ] ] > 0) do={
3434
:local Phone [ /tool/sms/inbox/get ([ find ]->0) phone ];
3535
:local Messages "";
36-
:local Delete [ :toarray "" ];
36+
:local Delete ({});
3737

3838
:foreach Sms in=[ /tool/sms/inbox/find where phone=$Phone ] do={
3939
:local SmsVal [ /tool/sms/inbox/get $Sms ];

0 commit comments

Comments
 (0)