Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
294
Merge Requests
39
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
3a6eb800
Commit
3a6eb800
authored
9 minutes ago
by
Ben Hayward
Browse files
Options
Download
minor change
parent
256265c6
fix/blog-media-nsfw-update-1936
1 merge request
!384
[Sprint/QuietQuail](fix): Blog & media edit updated to new nsfw system #1936
Pipeline
#100449998
failed with stages
in 2 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Entities/Video.php
View file @
3a6eb800
...
...
@@ -220,7 +220,7 @@ class Video extends MindsObject
if
(
$field
==
'access_id'
)
{
$data
[
$field
]
=
(
int
)
$data
[
$field
];
}
elseif
(
(
in_array
(
$field
,
[
'full_hd'
],
true
))
||
(
in_array
(
$field
,
[
'mature'
,
'full_hd'
],
true
)
))
{
}
elseif
(
in_array
(
$field
,
[
'mature'
,
'full_hd'
],
true
))
{
$this
->
setFlag
(
$field
,
!!
$data
[
$field
]);
continue
;
}
...
...
This diff is collapsed.
Please
register
or
sign in
to comment