From 8a73785aee3e51c26c65053a4de7c5d7f0ebb673 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 21 Aug 2010 23:58:35 +0000 Subject: Merged r6586:6587 from 1.7 branch into trunk git-svn-id: http://code.elgg.org/elgg/trunk@6842 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/start.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mod/file/start.php') 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 -- cgit v1.2.3