mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-31 00:04:51 +02:00
sms-forward: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
parent
d6337fcc97
commit
6fa1525700
1 changed files with 1 additions and 1 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue