Skip to content

Commit

Permalink
Fixes #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

1 comment on commit c91e332

@422
Copy link

@422 422 commented on c91e332 Nov 10, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works perfectly Todd thanks

Please sign in to comment.