Apply fixes from StyleCI (#12)
This commit is contained in:
parent
995c653fec
commit
63b352d670
|
|
@ -288,8 +288,9 @@ class SkinlibController extends Controller
|
|||
|
||||
@$users->get($t->uploader)->setScore($score_diff, 'plus');
|
||||
|
||||
$t->public = !$t->public;
|
||||
$t->public = ! $t->public;
|
||||
$t->save();
|
||||
|
||||
return json([
|
||||
'errno' => 0,
|
||||
'msg' => trans('skinlib.privacy.success', ['privacy' => (! $t->public ? trans('general.private') : trans('general.public'))]),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user