summaryrefslogtreecommitdiff
path: root/plugins/format.pearwiki_general.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-10-25 20:43:01 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-10-25 20:43:01 +0000
commit132c97e02f62b5acec6e09fd07468424c45d65e1 (patch)
tree033ef21e6d32dccfbb9622eaca185c2636323a17 /plugins/format.pearwiki_general.php
parent62e812c414852857ba29e640bbfd16d3d55dc6d2 (diff)
downloadliberty-132c97e02f62b5acec6e09fd07468424c45d65e1.tar.gz
liberty-132c97e02f62b5acec6e09fd07468424c45d65e1.tar.bz2
liberty-132c97e02f62b5acec6e09fd07468424c45d65e1.zip
fix fatalError() usage
Diffstat (limited to 'plugins/format.pearwiki_general.php')
-rw-r--r--plugins/format.pearwiki_general.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/format.pearwiki_general.php b/plugins/format.pearwiki_general.php
index aa57fdd..19d88e2 100644
--- a/plugins/format.pearwiki_general.php
+++ b/plugins/format.pearwiki_general.php
@@ -78,15 +78,14 @@ function pearwiki_general_verify_data( &$pParamHash ) {
}
function pearwiki_general_parse_data( $parser_fmt, &$pParseHash, &$pCommonObject ) {
- global $gBitSystem;
+ global $gBitSystem;
if (!defined('PAGE_SEP')) {
define('PAGE_SEP', 'PAGE MARKER HERE*&^%$#^$%*PAGEMARKERHERE');
}
$parser = Text_Wiki::singleton($parser_fmt);
if (PEAR::isError($parser)) {
- $gBitSystem->fatalError("PEAR Wiki Parser Error", "There was an unknown error while constructing the parser.");
- die();
+ $gBitSystem->fatalError( "There was an unknown error while constructing the PEAR parser." );
}
global $gBitSystem;
if ($gBitSystem->isPackageActive('wiki')) {