This commit is contained in:
Ron Bronson 2017-10-20 12:16:26 -04:00
parent 9043e7285a
commit 12249ba8cf
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
$url = new URL(BASE_URL.'/deeds/deleteDeed.php');
$url->deed_id = $deed->getId();
$url->return_url = "https://'.BASE_HOST.$_SERVER['REQUEST_URI']";
$url = new URL('https://'.BASE_HOST.$_SERVER['REQUEST_URI']);
$deleteButton = "
<button type=\"button\" class=\"delete\" onclick=\"COB.deleteConfirmation('$url');\">
Delete

View File

@ -7,7 +7,7 @@
* @param GET sort
*/
$previousSort = isset($_GET['sort']) ? $_GET['sort'] : 'deceasedDate';
$url = new URL('https://'.BASE_HOST.$_SERVER['REQUEST_URI']);
$url = new URL('https://'.BASE_HOST.$_SERVER['REQUEST_URI']);
$url->purgeEmptyParameters();
$return_url = $url->__toString();
?>
@ -65,7 +65,7 @@ $return_url = $url->__toString();
";
$url = new URL(BASE_URL.'/interments/deleteInterment.php');
$url->interment_id = $interment->getId();
$url->return_url = "https://'.BASE_HOST.$_SERVER['REQUEST_URI']);
$url->return_url = "http://$_SERVER[SERVER_NAME]$_SERVER[REQUEST_URI]";
$deleteButton = "
<button type=\"button\" class=\"delete\" onclick=\"COB.deleteConfirmation('$url');\">
Delete