mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 19:28:55 +00:00
Use $this->userdata->id variable in place of Auth::(id) in controllers
This commit is contained in:
@@ -49,7 +49,7 @@ class DetailsController extends BasePageController
|
||||
}
|
||||
|
||||
if ($this->isPostBack()) {
|
||||
ReleaseComment::addComment($data['id'], $data['gid'], \request()->input('txtAddComment'), Auth::id(), \request()->ip());
|
||||
ReleaseComment::addComment($data['id'], $data['gid'], \request()->input('txtAddComment'), $this->userdata->id, \request()->ip());
|
||||
}
|
||||
|
||||
$nfo = ReleaseNfo::getReleaseNfo($data['id']);
|
||||
|
||||
Reference in New Issue
Block a user