summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 2fd5844d0..7dd1b8034 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -86,8 +86,8 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
//handles plugin rendering
function plugin($name,$data){
- $plugin = null;
- if(plugin_load('syntax',$name,$plugin)){
+ $plugin =& plugin_load('syntax',$name);
+ if($plugin != null){
$plugin->render('xhtml',$this,$data);
}
}