1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Blog Plugin: fix for notice

This commit is contained in:
Sergey Romanenko
2014-07-31 14:22:56 +04:00
parent 31b103d9d3
commit 7ff4ff29d9

View File

@@ -109,8 +109,10 @@ class Blog {
}
foreach($posts as $post) {
if (isset($post['tags'])) {
$tags_string .= $post['tags'].',';
}
}
$tags_string = substr($tags_string, 0, strlen($tags_string)-1);