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:
@@ -109,7 +109,9 @@ class Blog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach($posts as $post) {
|
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);
|
$tags_string = substr($tags_string, 0, strlen($tags_string)-1);
|
||||||
|
Reference in New Issue
Block a user