Skip to content

Commit

Permalink
change slug url
Browse files Browse the repository at this point in the history
  • Loading branch information
skywalker512 committed Jun 17, 2018
1 parent 2ca1c8f commit 4819a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/functions.render.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function highlight($text, $words)
*/
function conversationURL($conversationId, $title = "")
{
return $conversationId.(($title = slug($title)) ? "-$title" : "");
return $conversationId;
}

}
Expand All @@ -74,7 +74,7 @@ function conversationURL($conversationId, $title = "")
*/
function memberURL($memberId, $username = "", $pane = "")
{
return "member/".($pane ? "$pane/" : "").$memberId.(($username = slug($username)) ? "-$username" : "");
return "member/".($pane ? "$pane/" : "").$memberId;
}

}
Expand Down

0 comments on commit 4819a88

Please sign in to comment.