This repository has been archived by the owner on Nov 2, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Upload): Fix Upload Torrent can't save in database
In old version , when save torrent in database the onwer_id will get from app()->session. However, in commit 4258e5f , We remove user info from session and use app()->user to get curuser object. But This Line is forget to change and will raise this Error when upload torrent: `SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'owner_id' cannot be null`
- Loading branch information