Skip to content

Commit fd88414

Browse files
authored
Merge pull request #4395 from HDInnovations/Bug-4393
(Fix) #4393 Undefined variable $user
2 parents 24b8df2 + a7e6b99 commit fd88414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/partials/_torrent-group-row.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class="torrent-search--grouped__edit"
6161
@endif
6262
@if (config('torrent.magnet') == 1)
6363
<a
64-
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 }}"
64+
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 }}"
6565
title="{{ __('common.magnet') }}"
6666
>
6767
<i class="{{ config('other.font-awesome') }} fa-magnet"></i>

0 commit comments

Comments
 (0)