summaryrefslogtreecommitdiff
path: root/add_xref_address.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2012-08-06 15:12:43 +0100
committerlsces <lester@lsces.co.uk>2012-08-06 15:12:43 +0100
commit5cb254fbb1af3ae0372fc79c231088a31e397e38 (patch)
tree5657fe8e3e37261c856ed46ee2b7f3f7f57b8f36 /add_xref_address.php
parent71b81ea184bc96e6615dc346e88aad80f5cdc063 (diff)
downloadcontact-5cb254fbb1af3ae0372fc79c231088a31e397e38.tar.gz
contact-5cb254fbb1af3ae0372fc79c231088a31e397e38.tar.bz2
contact-5cb254fbb1af3ae0372fc79c231088a31e397e38.zip
Bring in line with getDisplayUrl changes
Diffstat (limited to 'add_xref_address.php')
-rw-r--r--add_xref_address.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/add_xref_address.php b/add_xref_address.php
index e059db1..6f4ed21 100644
--- a/add_xref_address.php
+++ b/add_xref_address.php
@@ -22,14 +22,14 @@ include_once( CONTACT_PKG_PATH.'lookup_contact_inc.php' );
if (isset($_REQUEST["fCancel"])) {
if( !empty( $gContent->mContentId ) ) {
- header("Location: ".$gContent->getContactUrl() );
+ header("Location: ".$gContent->getDisplayUrl() );
} else {
header("Location: ".CONTACT_PKG_URL );
}
die;
} elseif (isset($_REQUEST["fAddXref"])) {
if( $gContent->storeXref( $_REQUEST ) ) {
- header("Location: ".$gContent->getContactUrl() );
+ header("Location: ".$gContent->getDisplayUrl() );
} else {
$xrefInfo = $_REQUEST;
$xrefInfo['data'] = &$_REQUEST['edit'];