Update index.lua

Set regex_match = false; before the loop.
This commit is contained in:
FusionPBX
2016-08-03 00:23:58 -06:00
committed by GitHub
parent 6b69616d7f
commit 7693844dde

View File

@@ -441,6 +441,7 @@ local log = require "resources.functions.log".ring_group
y = 0;
dial_string = '';
previous_dialplan_uuid = '';
regex_match = false;
for k, r in pairs(dialplans) do
if (y > 0) then
if (previous_dialplan_uuid ~= r.dialplan_uuid) then