mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Fix wrong column used to fetch NFO for a release in api
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-02-11 DariusIII
|
||||
* Fix: Fix wrong column used to fetch NFO for a release in api
|
||||
* Chg: Update laravel-countries to version 1.0.3
|
||||
2018-02-10 DariusIII
|
||||
* Chg: Update resetdb artisan command
|
||||
|
||||
@@ -272,7 +272,7 @@ switch ($function) {
|
||||
}
|
||||
|
||||
UserRequest::addApiRequest($uid, $_SERVER['REQUEST_URI']);
|
||||
$rel = Release::query()->where('id', $_GET['id'])->first(['id', 'searchname']);
|
||||
$rel = Release::query()->where('guid', $_GET['id'])->first(['id', 'searchname']);
|
||||
$data = ReleaseNfo::getReleaseNfo($rel['id']);
|
||||
|
||||
if ($rel !== null) {
|
||||
|
||||
Reference in New Issue
Block a user