aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-23 10:40:40 -0400
committerCash Costello <cash.costello@gmail.com>2012-06-23 10:40:40 -0400
commit025f2fe8ac4c7122dafdd1d071f20d26ba04361a (patch)
tree1bf6fe0c3d58bb4f501736dca1d27fadd53d900c
parent1909a0de9540fbb20971639147726bde9690caa4 (diff)
downloadelgg-025f2fe8ac4c7122dafdd1d071f20d26ba04361a.tar.gz
elgg-025f2fe8ac4c7122dafdd1d071f20d26ba04361a.tar.bz2
added slug to url of discussion forum topic
-rw-r--r--mod/groups/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index aeab0649a..e39c37000 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -792,7 +792,7 @@ function discussion_page_handler($page) {
* @return string
*/
function discussion_override_topic_url($entity) {
- return 'discussion/view/' . $entity->guid;
+ return 'discussion/view/' . $entity->guid . '/' . elgg_get_friendly_title($entity->title);
}
/**