summaryrefslogtreecommitdiff
path: root/edit_xref.php
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-15 22:14:06 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-15 22:14:06 +0100
commitdb5b4ca3b928017e11c7a63d65e1e9b784a587d7 (patch)
tree884d2f965b943b6472e5e7555008880ed802eb9a /edit_xref.php
parentf35583f7c089b9ca39d6a4e3bb05e30cf4b6363e (diff)
downloadcontact-db5b4ca3b928017e11c7a63d65e1e9b784a587d7.tar.gz
contact-db5b4ca3b928017e11c7a63d65e1e9b784a587d7.tar.bz2
contact-db5b4ca3b928017e11c7a63d65e1e9b784a587d7.zip
Tidy up to remove 'STRICT' warnings
Split static and dynamic use of getDisplayUrl Create getContentUrl as the instantiated version load parameters need to be identical across all classes
Diffstat (limited to 'edit_xref.php')
-rw-r--r--edit_xref.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/edit_xref.php b/edit_xref.php
index 5b56ce1..596d60a 100644
--- a/edit_xref.php
+++ b/edit_xref.php
@@ -29,14 +29,14 @@ if( !empty( $_REQUEST['xref_id'] ) ) {
if (isset($_REQUEST["fCancel"])) {
if( !empty( $gContent->mContentId ) ) {
- header("Location: ".$gContent->getDisplayUrl( $gContent->mContentId ) );
+ header("Location: ".$gContent->getContactUrl( $gContent->mContentId ) );
} else {
header("Location: ".CONTACT_PKG_URL );
}
die;
} else if(isset($_REQUEST["fSaveXref"])) {
if( $gContent->storeXref( $_REQUEST ) ) {
- header("Location: ".$gContent->getDisplayUrl( $gContent->mContentId ) );
+ header("Location: ".$gContent->getContactUrl( $gContent->mContentId ) );
die;
} else {
$xrefInfo = $_REQUEST;
@@ -45,7 +45,7 @@ if (isset($_REQUEST["fCancel"])) {
} else if(isset( $_REQUEST["expunge"] ) ) {
if( $gContent->stepXref( $_REQUEST ) ) {
// if ( $_REQUEST['expunge'] > 2) {
- header("Location: ".$gContent->getDisplayUrl() );
+ header("Location: ".$gContent->getContactUrl() );
die;
// }
}