From 03c4aec3c817c51eda2cf5c241f76e3bef585799 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 4 Aug 2006 16:22:43 +0200 Subject: unittest fixes darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz --- inc/parser/handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/parser') 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'){ -- cgit v1.2.3