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
302
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
315c1c92
Commit
315c1c92
authored
49 minutes ago
by
Ben Hayward
Browse files
Options
Download
Update Image.php
parent
ecb84755
fix/blog-media-nsfw-update-1936
1 merge request
!384
[Sprint/QuietQuail](fix): Blog & media edit updated to new nsfw system #1936
Pipeline
#96754725
failed with stages
in 5 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
Entities/Image.php
View file @
315c1c92
...
...
@@ -213,11 +213,7 @@ class Image extends File
* Extend exporting
*/
public
function
export
()
{
error_log
(
var_export
(
$this
->
nsfw
,
true
));
error_log
(
var_export
(
$this
->
getFlag
(
'nsfw'
),
true
));
error_log
(
"^^^^^^^^^^^^^^^^^"
);
{
$export
=
parent
::
export
();
$export
[
'thumbnail_src'
]
=
$this
->
getIconUrl
(
'xlarge'
);
$export
[
'thumbnail'
]
=
$export
[
'thumbnail_src'
];
...
...
This diff is collapsed.
Please
register
or
sign in
to comment