summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorHakan Sandell <hakan.sandell@home.se>2010-10-08 21:15:19 +0200
committerHakan Sandell <hakan.sandell@home.se>2010-10-08 21:15:19 +0200
commite3626db54846ba20cefbc1a9e2d8e29c40137067 (patch)
treebe549543a7c36718ffb06a6293fe80ee0675ec92 /inc/parser
parent7cceaa7443c80b526a6bbad32b6cbdf5d759fd39 (diff)
parent4ea48b361401e136dbfd3339af368ceeb5b27480 (diff)
downloadrpg-e3626db54846ba20cefbc1a9e2d8e29c40137067.tar.gz
rpg-e3626db54846ba20cefbc1a9e2d8e29c40137067.tar.bz2
Merge branch 'master' of git://github.com/splitbrain/dokuwiki
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/renderer.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php
index 7e52cfce2..b54ccf050 100644
--- a/inc/parser/renderer.php
+++ b/inc/parser/renderer.php
@@ -6,7 +6,6 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
if(!defined('DOKU_INC')) die('meh.');
-require_once DOKU_INC . 'inc/parser/renderer.php';
require_once DOKU_INC . 'inc/plugin.php';
require_once DOKU_INC . 'inc/pluginutils.php';
@@ -75,7 +74,9 @@ class Doku_Renderer extends DokuWiki_Plugin {
foreach ( $instructions as $instruction ) {
// execute the callback against ourself
- call_user_func_array(array(&$this, $instruction[0]),$instruction[1]);
+ if (method_exists($this,$instruction[0])) {
+ call_user_func_array(array($this, $instruction[0]),$instruction[1]);
+ }
}
}