Skip to content

Commit

Permalink
Merge pull request #4395 from HDInnovations/Bug-4393
Browse files Browse the repository at this point in the history
(Fix) #4393 Undefined variable $user
  • Loading branch information
HDVinnie authored Dec 27, 2024
2 parents 24b8df2 + a7e6b99 commit fd88414
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class="torrent-search--grouped__edit"
@endif
@if (config('torrent.magnet') == 1)
<a
href="magnet:?dn={{ $torrent->name }}&xt=urn:btih:{{ bin2hex($torrent->info_hash) }}&as={{ route('torrent.download.rsskey', ['id' => $torrent->id, 'rsskey' => auth()->user()->rsskey]) }}&tr={{ route('announce', ['passkey' => $user->passkey]) }}&xl={{ $torrent->size }}"
href="magnet:?dn={{ $torrent->name }}&xt=urn:btih:{{ bin2hex($torrent->info_hash) }}&as={{ route('torrent.download.rsskey', ['id' => $torrent->id, 'rsskey' => auth()->user()->rsskey]) }}&tr={{ route('announce', ['passkey' => auth()->user()->passkey]) }}&xl={{ $torrent->size }}"
title="{{ __('common.magnet') }}"
>
<i class="{{ config('other.font-awesome') }} fa-magnet"></i>
Expand Down

0 comments on commit fd88414

Please sign in to comment.