Commit 712f596a authored by arildb's avatar arildb

[FIX] PHP notice

parent dfcd5512
......@@ -165,7 +165,7 @@ function wikiplugin_bloglist($data, $params)
$blogItems = $bloglib->list_blog_posts($params['Id'], false, $params['offset'], $params['Items'], $params['sort_mode'], $params['find'], $dateStartTS, $dateEndTS);
if ( $params['charCount'] > 0 ) {
if ( isset($params['charCount']) && $params['charCount'] > 0 ) {
$blogItems = $bloglib->mod_blog_posts($blogItems, $params['charCount'], $params['wordBoundary'], $params['ellipsis'], $params['more']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment