mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Fix a bug where XMPP wrote the XML file but for each loop deleted the previous XML file.
This commit is contained in:
@@ -59,8 +59,7 @@ foreach ($result as &$row) {
|
||||
$profile = $profiles_array[0];
|
||||
unset ($prep_statement);
|
||||
|
||||
$sql = "";
|
||||
$sql .= "delete from v_xmpp ";
|
||||
$sql = "delete from v_xmpp ";
|
||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
||||
$sql .= "and xmpp_profile_uuid = '$profile_id' ";
|
||||
$db->exec(check_sql($sql));
|
||||
|
||||
Reference in New Issue
Block a user