Skip to content

Commit ce43e3b

Browse files
author
Philip Harvey
committed
Add Label to getCurrentTags
1 parent cc622d6 commit ce43e3b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

core/components/tagger/elements/snippets/taggergetcurrenttag.snippet.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777

7878
$phs = array (
7979
'tag' => $tag['tag'],
80+
'label' => $tag['label'],
8081
'alias' => $tag['alias'],
8182
'uri' => $uri,
8283
'group_name' => $currentTag['group'],

core/components/tagger/model/tagger/tagger.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public function getCurrentTags()
115115
if ($tag) {
116116
$tags[$tag->alias] = array(
117117
'tag' => $tag->tag,
118+
'label' => $tag->label,
118119
'alias' => $tag->alias
119120
);
120121
} else {

0 commit comments

Comments
 (0)