mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-30 07:20:25 -05:00
(Fix) Bug in request url
This commit is contained in:
@@ -35,7 +35,8 @@ if (!function_exists('hrefTorrentRequest')) {
|
||||
function hrefTorrentRequest($torrentRequest)
|
||||
{
|
||||
$appurl = appurl();
|
||||
return "{$appurl}/request/{$torrentRequest->slug}.{$torrentRequest->id}";
|
||||
$slug = str_slug($torrentRequest->name);
|
||||
return "{$appurl}/request/{$slug}.{$torrentRequest->id}";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user