mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Fix Voicemail DELETE FROM SQL Query [4.5] (#3061)
As the other patches, the AS alias is not supported on MariaDB/MySQL and maybe other databases as well. You do not need an alias as you are just dealing with a single table.
This commit is contained in:
committed by
FusionPBX
parent
03ec8e2375
commit
737c3e72b2
@@ -82,10 +82,10 @@
|
||||
//delete the voicemail from the destionations
|
||||
$sqld = "
|
||||
delete from
|
||||
v_voicemail_destinations as d
|
||||
v_voicemail_destination
|
||||
where
|
||||
d.voicemail_destination_uuid = '".$voicemail_destination_uuid."' and
|
||||
d.voicemail_uuid = '".$voicemail_uuid."'";
|
||||
voicemail_destination_uuid = '".$voicemail_destination_uuid."' and
|
||||
voicemail_uuid = '".$voicemail_uuid."'";
|
||||
$db->exec(check_sql($sqld));
|
||||
//redirect the browser
|
||||
messages::add($text['message-delete']);
|
||||
|
||||
Reference in New Issue
Block a user