mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 12:09:02 -05:00
(Fix) PM names and links
This commit is contained in:
@@ -302,7 +302,9 @@ class BonusController extends Controller
|
||||
$pm->sender_id = 1;
|
||||
$pm->receiver_id = $uploader->id;
|
||||
$pm->subject = "You Have Received A BON Tip";
|
||||
$pm->message = "Member " . $user->username . " has left a tip of " . $tip_amount . " BON on your upload " . $torrent->name . ".";
|
||||
$profile_url = hrefProfile($user);
|
||||
$torrent_url = hrefTorrent($torrent);
|
||||
$pm->message = "Member [url={$profile_url}]{$user->username}[/url] has left a tip of " . $tip_amount . " BON on your upload [url={$torrent_url}]{$torrent->name}[/url].";
|
||||
$pm->save();
|
||||
|
||||
return redirect()->route('torrent', ['slug' => $torrent->slug, 'id' => $torrent->id])
|
||||
|
||||
Reference in New Issue
Block a user