Skip to content

Commit

Permalink
Removed duplicate call to Gdn_Format::Text(). This is already done in…
Browse files Browse the repository at this point in the history
… the view.
  • Loading branch information
tburry committed Sep 16, 2011
1 parent f86f20f commit 00f91a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function WriteDiscussion($Discussion, &$Sender, &$Session, $Alt2) {

$Sender->FireEvent('BeforeDiscussionName');

$DiscussionName = Gdn_Format::Text($Discussion->Name);
$DiscussionName = $Discussion->Name;
if ($DiscussionName == '')
$DiscussionName = T('Blank Discussion Topic');

Expand Down

0 comments on commit 00f91a1

Please sign in to comment.