diff options
| author | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-15 22:14:06 +0100 |
|---|---|---|
| committer | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-15 22:14:06 +0100 |
| commit | db5b4ca3b928017e11c7a63d65e1e9b784a587d7 (patch) | |
| tree | 884d2f965b943b6472e5e7555008880ed802eb9a /edit.php | |
| parent | f35583f7c089b9ca39d6a4e3bb05e30cf4b6363e (diff) | |
| download | contact-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.php')
| -rw-r--r-- | edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,14 +49,14 @@ if(isset($_REQUEST["preview"])) { // Pro if (isset($_REQUEST["fCancel"])) { if( !empty( $gContent->mContentId ) ) { - header("Location: ".$gContent->getDisplayUrl() ); + header("Location: ".$gContent->getContactUrl() ); } else { header("Location: ".CONTACT_PKG_URL ); } die; } elseif (isset($_REQUEST["fSaveContact"])) { if( $gContent->store( $_REQUEST ) ) { - header("Location: ".$gContent->getDisplayUrl() ); + header("Location: ".$gContent->getContactUrl() ); } else { $formInfo = $_REQUEST; $formInfo['data'] = &$_REQUEST['edit']; |
