mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
Refactor releases table
This commit is contained in:
@@ -56,7 +56,7 @@ class DetailsController extends BasePageController
|
||||
}
|
||||
|
||||
if ($this->isPostBack($request)) {
|
||||
ReleaseComment::addComment($data['id'], $data['gid'], $request->input('txtAddComment'), $this->userdata->id, $request->ip());
|
||||
ReleaseComment::addComment((int) $data['id'], (string) $request->input('txtAddComment'), (int) $this->userdata->id, $request->ip());
|
||||
|
||||
return redirect()->route('details', ['guid' => $guid])->with('success', 'Comment posted successfully!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user