From 7ff4ff29d95479677fcb0be8bfe39a9ecf4dd27d Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Thu, 31 Jul 2014 14:22:56 +0400 Subject: [PATCH] Blog Plugin: fix for notice --- plugins/blog/blog.plugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/blog/blog.plugin.php b/plugins/blog/blog.plugin.php index d47698a..6d06f28 100644 --- a/plugins/blog/blog.plugin.php +++ b/plugins/blog/blog.plugin.php @@ -109,7 +109,9 @@ class Blog { } foreach($posts as $post) { - $tags_string .= $post['tags'].','; + if (isset($post['tags'])) { + $tags_string .= $post['tags'].','; + } } $tags_string = substr($tags_string, 0, strlen($tags_string)-1);