summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2009-05-15 19:03:45 +0000
committerLester Caine <lester@lsces.co.uk>2009-05-15 19:03:45 +0000
commit0a5c5e32adb1186ce38817761bfc0c6b5ec52e55 (patch)
tree8346b1041ce3e829597b58d91844cef9b1595150 /edit.php
parentdd381b23f56d227dfbcec2dbc783446b3d0e4fad (diff)
downloadwiki-0a5c5e32adb1186ce38817761bfc0c6b5ec52e55.tar.gz
wiki-0a5c5e32adb1186ce38817761bfc0c6b5ec52e55.tar.bz2
wiki-0a5c5e32adb1186ce38817761bfc0c6b5ec52e55.zip
Load title if creating page from a previous new link
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/edit.php b/edit.php
index fc3ec8a..23ac3cb 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.58 2009/02/21 17:29:55 tekimaki_admin Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.59 2009/05/15 19:03:45 lsces 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.php,v 1.58 2009/02/21 17:29:55 tekimaki_admin Exp $
+ * $Id: edit.php,v 1.59 2009/05/15 19:03:45 lsces Exp $
* @package wiki
* @subpackage functions
*/
@@ -109,6 +109,8 @@ if(isset($_REQUEST["section"])) {
}
if( isset( $_REQUEST['title'] ) ) {
$formInfo['title'] = $_REQUEST['title'];
+} elseif( isset( $_REQUEST['page'] ) ) {
+ $formInfo['title'] = $_REQUEST['page'];
}
if( isset( $_REQUEST["description"] ) ) {
$formInfo['description'] = $_REQUEST["description"];