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

View File

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