mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update contact_edit.php
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
$array['contacts'][0]['contact_uuid'] = $contact_uuid;
|
||||
|
||||
message::add($text['message-add']);
|
||||
$location = "contact_edit.php?id=".$contact_uuid;
|
||||
$location = "contact_edit.php?id=".urlencode($contact_uuid);
|
||||
}
|
||||
|
||||
//update the contact
|
||||
@@ -122,7 +122,7 @@
|
||||
$array['contacts'][0]['contact_uuid'] = $contact_uuid;
|
||||
|
||||
message::add($text['message-update']);
|
||||
$location = "contact_edit.php?id=".escape($contact_uuid);
|
||||
$location = "contact_edit.php?id=".urlencode($contact_uuid);
|
||||
}
|
||||
|
||||
//create array
|
||||
@@ -188,7 +188,7 @@
|
||||
|
||||
//handle redirect
|
||||
if ($_POST['submit'] == $text['button-add']) {
|
||||
$location = "contact_edit.php?id=".escape($contact_uuid);
|
||||
$location = "contact_edit.php?id=".urlencode($contact_uuid);
|
||||
}
|
||||
|
||||
//redirect the browser
|
||||
|
||||
Reference in New Issue
Block a user