Update contact_edit.php

This commit is contained in:
FusionPBX 2019-08-14 09:53:47 -06:00 committed by GitHub
parent 90d23b24c1
commit 39047622ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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