summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 519336caa..602ef1b6d 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -1341,7 +1341,7 @@ class Doku_Handler_Block {
function Doku_Handler_Block(){
global $DOKU_PLUGINS;
//check if syntax plugins were loaded
- if(!is_array($DOKU_PLUGINS['syntax'])) return;
+ if(empty($DOKU_PLUGINS['syntax'])) return;
foreach($DOKU_PLUGINS['syntax'] as $n => $p){
$ptype = $p->getPType();
if($ptype == 'block'){