diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-10-25 20:43:02 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-10-25 20:43:02 +0000 |
| commit | 3d320676279401d91994b07b19b8c81633fb1b32 (patch) | |
| tree | f673917c190257e564a11ad9f34f00802b3b1d17 /remove_page.php | |
| parent | 5e1b46076f6fa4e340342f084fa853dd05ba649b (diff) | |
| download | wiki-3d320676279401d91994b07b19b8c81633fb1b32.tar.gz wiki-3d320676279401d91994b07b19b8c81633fb1b32.tar.bz2 wiki-3d320676279401d91994b07b19b8c81633fb1b32.zip | |
fix fatalError() usage
Diffstat (limited to 'remove_page.php')
| -rw-r--r-- | remove_page.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/remove_page.php b/remove_page.php index f23216f..d583c47 100644 --- a/remove_page.php +++ b/remove_page.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/remove_page.php,v 1.9 2007/10/25 17:14:15 nickpalmer Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/remove_page.php,v 1.10 2007/10/25 20:43:02 squareing 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: remove_page.php,v 1.9 2007/10/25 17:14:15 nickpalmer Exp $ + * $Id: remove_page.php,v 1.10 2007/10/25 20:43:02 squareing Exp $ * @package wiki * @subpackage functions */ @@ -33,8 +33,7 @@ if( isset( $_REQUEST["confirm"] ) ) { header( "location: ".WIKI_PKG_URL ); die; } else { - $gBitSystem->fatalError( "Error Deleting Page", "There was an error deleting the page: " . vc($gContent->mErrors)./wiki/edit_book.php - ); + $gBitSystem->fatalError( "There was an error deleting the page: ".vc( $gContent->mErrors )); } } |
