aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:35:46 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:35:46 +0200
commit6fa15257003394d495f84a8dedebadfa8e1fa375 (patch)
tree95a8834df649bf05a5ab3066be7804f52f81515b /sms-forward
parentd6337fcc9733b6a780cf44d2b367f1700464507e (diff)
sms-forward: update initialization of empty array
Having the parenthesis here is important for valid syntax!
Diffstat (limited to 'sms-forward')
-rw-r--r--sms-forward2
1 files changed, 1 insertions, 1 deletions
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 ];