Plugin updates

This commit is contained in:
dignajar 2016-01-22 19:20:22 -03:00
parent 45dd310259
commit 42d671c6c0
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ class pluginTags extends Plugin {
$html .= '<div class="plugin-content">'; $html .= '<div class="plugin-content">';
$html .= '<ul>'; $html .= '<ul>';
$tagArray = array();
foreach($db as $tagKey=>$fields) foreach($db as $tagKey=>$fields)
{ {
$tagArray[] = array('tagKey'=>$tagKey, 'count'=>$dbTags->countPostsByTag($tagKey), 'name'=>$fields['name']); $tagArray[] = array('tagKey'=>$tagKey, 'count'=>$dbTags->countPostsByTag($tagKey), 'name'=>$fields['name']);