diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-01 17:05:40 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-01 17:05:40 +0200 |
commit | e3710957c6b7e12293805a15d0624be7c7054092 (patch) | |
tree | b3a7542d4eb9e3b35a1f4c4ef499b6773e75a336 /inc/parserutils.php | |
parent | 253d4b48ec708eb42033862dc15c8576f44a48ed (diff) | |
download | rpg-e3710957c6b7e12293805a15d0624be7c7054092.tar.gz rpg-e3710957c6b7e12293805a15d0624be7c7054092.tar.bz2 |
more phpdocs and minor check
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r-- | inc/parserutils.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 <andi@splitbrain.org> * * @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; |