mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add the following == "true" to fix the if statement.
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
end
|
||||
status = dbh:query(sql, function(row)
|
||||
--check for matching options
|
||||
if (api:execute("regex", digits.."|"..row.ivr_menu_option_digits)) then
|
||||
if (api:execute("regex", digits.."|"..row.ivr_menu_option_digits) == "true") then
|
||||
if (row.ivr_menu_option_action == "menu-exec-app") then
|
||||
--get the action and data
|
||||
pos = string.find(row.ivr_menu_option_param, " ", 0, true);
|
||||
|
||||
Reference in New Issue
Block a user