1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

email-daily-psk: properly create empty array

https://wiki.mikrotik.com/wiki/Manual:Scripting_Tips_and_Tricks#How_to_define_empty_array
This commit is contained in:
Christian Hesse
2018-08-24 16:34:06 +02:00
parent 07e54dd88b
commit c613602401

View File

@@ -9,7 +9,7 @@
:global "email-general-cc";
:global "daily-psk-match-comment";
:local seen { "" };
:local seen [ :toarray "" ];
:foreach acclist in=[ / interface wireless access-list find where comment~$"daily-psk-match-comment" ] do={
:local skip 0;