Skip to content

Commit

Permalink
Fixes vanilla#1213.
Browse files Browse the repository at this point in the history
Remove tag module from within a discussion.
Conflicts:

	plugins/Tagging/class.tagging.plugin.php
  • Loading branch information
tburry committed Nov 10, 2011
1 parent 6ad4959 commit c91e332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Tagging/class.tagging.plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ public function PostController_BeforeFormButtons_Handler($Sender) {
->From('TagDiscussion td')
->Join('Tag t', 'td.TagID = t.TagID')
->Where('td.DiscussionID', GetValue('DiscussionID', $Discussion))
->Where('t.Type', '')
->Where("coalesce(t.Type, '')", '')
->Get()->ResultArray();

$Tags = ConsolidateArrayValuesByKey($Tags, 'Name');
Expand Down

0 comments on commit c91e332

Please sign in to comment.