mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-11 14:09:31 -06:00
fix: migrate boolean columns to tinyint(1)
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
This commit is contained in:
@@ -96,7 +96,7 @@ class ModerationController extends Controller
|
||||
switch ($request->status) {
|
||||
case Torrent::APPROVED:
|
||||
// Announce To Shoutbox
|
||||
if ($torrent->anon === 0) {
|
||||
if (!$torrent->anon) {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('User [url=%s/users/', config('app.url')).$torrent->user->username.']'.$torrent->user->username.\sprintf('[/url] has uploaded a new '.$torrent->category->name.'. [url=%s/torrents/', config('app.url')).$id.']'.$torrent->name.'[/url], grab it now!'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user