mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-29 14:59:30 -05:00
refactor: dynamic calls to static
This commit is contained in:
@@ -360,7 +360,7 @@ class TorrentController extends BaseController
|
||||
$description .= '%'.$keyword.'%';
|
||||
}
|
||||
|
||||
$torrent = $torrent->newQuery();
|
||||
$torrent = $torrent::newQuery();
|
||||
|
||||
if ($request->has('name') && $request->input('name') != null) {
|
||||
$torrent->where(function ($query) use ($search) {
|
||||
|
||||
Reference in New Issue
Block a user