mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00: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
|
@ -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…
Reference in a new issue