From e3710957c6b7e12293805a15d0624be7c7054092 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Wed, 1 Oct 2014 17:05:40 +0200 Subject: more phpdocs and minor check --- inc/parserutils.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/parserutils.php') diff --git a/inc/parserutils.php b/inc/parserutils.php index 791033e63..ef62c8e49 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -616,12 +616,13 @@ function p_sort_modes($a, $b){ * @author Andreas Gohr * * @param string $mode - * @param array $instructions + * @param array|null|false $instructions * @param array $info returns render info like enabled toc and cache * @return null|string rendered output */ function p_render($mode,$instructions,&$info){ if(is_null($instructions)) return ''; + if($instructions === false) return ''; $Renderer = p_get_renderer($mode); if (is_null($Renderer)) return null; -- cgit v1.2.3