summaryrefslogtreecommitdiff
path: root/edit_personal_page.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-06-30 18:14:11 +0000
committerwjames5 <will@tekimaki.com>2008-06-30 18:14:11 +0000
commit54c7b9a73ee52038bc4a7679258b2d8a742e4f87 (patch)
treeae089b27c3da6a73b6ce7783975c6f1f31d98b1e /edit_personal_page.php
parent1ee46271ed97d4440c0d75568dca884060e6b182 (diff)
downloadusers-54c7b9a73ee52038bc4a7679258b2d8a742e4f87.tar.gz
users-54c7b9a73ee52038bc4a7679258b2d8a742e4f87.tar.bz2
users-54c7b9a73ee52038bc4a7679258b2d8a742e4f87.zip
return home if user cancels editing
Diffstat (limited to 'edit_personal_page.php')
-rw-r--r--edit_personal_page.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/edit_personal_page.php b/edit_personal_page.php
index 8aac391..cbdbf6e 100644
--- a/edit_personal_page.php
+++ b/edit_personal_page.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/edit_personal_page.php,v 1.23 2008/06/25 22:47:36 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/edit_personal_page.php,v 1.24 2008/06/30 18:14:11 wjames5 Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: edit_personal_page.php,v 1.23 2008/06/25 22:47:36 spiderr Exp $
+ * $Id: edit_personal_page.php,v 1.24 2008/06/30 18:14:11 wjames5 Exp $
* @package users
* @subpackage functions
*/
@@ -23,6 +23,9 @@ if (isset($_REQUEST["fSavePage"])) {
$gBitUser->store( $_REQUEST );
header( "Location:".USERS_PKG_URL."index.php?home=".$gBitUser->mUsername );
die;
+}elseif( isset($_REQUEST["fCancel"]) ){
+ header( "Location:".USERS_PKG_URL."index.php?home=".$gBitUser->mUsername );
+ die;
}
// see if we should show the attachments tab at all