mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
sms-forward: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
+1
-1
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user