mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
New database class was implemented in call_forward.lua when using first_value must change select * from with the specific value desired.
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
|
|
||||||
--check to see if the pin number is correct
|
--check to see if the pin number is correct
|
||||||
if not session:ready() then return end
|
if not session:ready() then return end
|
||||||
local sql = "SELECT * FROM v_voicemails ";
|
local sql = "SELECT voicemail_password FROM v_voicemails ";
|
||||||
sql = sql .. "WHERE domain_uuid = '" .. domain_uuid .."' ";
|
sql = sql .. "WHERE domain_uuid = '" .. domain_uuid .."' ";
|
||||||
sql = sql .. "AND voicemail_id = '" .. extension .."' ";
|
sql = sql .. "AND voicemail_id = '" .. extension .."' ";
|
||||||
if (debug["sql"]) then
|
if (debug["sql"]) then
|
||||||
|
|||||||
Reference in New Issue
Block a user