diff options
Diffstat (limited to 'mod/file/start.php')
-rw-r--r-- | mod/file/start.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/file/start.php b/mod/file/start.php index a2785386f..06f64fddf 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -294,9 +294,8 @@ global $CONFIG; $title = $entity->title; - $title = friendly_title($title); - return $CONFIG->url . "pg/file/" . $entity->getOwnerEntity()->username . "/read/" . $entity->getGUID() . "/" . $title; - + $title = elgg_get_friendly_title($title); + return $CONFIG->url . "pg/file/" . $entity->getOwnerEntity()->username . "/read/" . $entity->getGUID() . "/" . $title; } // Make sure test_init is called on initialisation |