aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:57:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:57:47 +0200
commitb67b9ec1c17c47fca970449c13c6e94f42a1dcb6 (patch)
tree95a8834df649bf05a5ab3066be7804f52f81515b /sms-forward
parent5b2ea9b1a4f57bc7c61d06cd8b1e0a6452f031a8 (diff)
parent6fa15257003394d495f84a8dedebadfa8e1fa375 (diff)
Merge branch 'empty-array' into next
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 ];