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;