]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
added slug to url of discussion forum topic
authorCash Costello <cash.costello@gmail.com>
Sat, 23 Jun 2012 14:40:40 +0000 (10:40 -0400)
committerCash Costello <cash.costello@gmail.com>
Sat, 23 Jun 2012 14:40:40 +0000 (10:40 -0400)
mod/groups/start.php

index aeab0649aaeabe1783b9eb8b08fb848316813833..e39c370007b4ae7bc2b7de2ccde151fd2721b9e5 100644 (file)
@@ -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);
 }
 
 /**