From c61360240172d83d759b7520d7ddf22f9a34ef7f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 24 Aug 2018 16:34:06 +0200 Subject: email-daily-psk: properly create empty array https://wiki.mikrotik.com/wiki/Manual:Scripting_Tips_and_Tricks#How_to_define_empty_array --- email-daily-psk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email-daily-psk b/email-daily-psk index 497f240..3f8b9a7 100644 --- a/email-daily-psk +++ b/email-daily-psk @@ -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; -- cgit v1.2.3-70-g09d2