Skip to content

Commit

Permalink
core: fix site.email_images_noembed check
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Aug 19, 2022
1 parent 4f8ecff commit 45f8b21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/smtp/z_email_embed.erl
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
embed_images(Parts, Context) ->
case z_convert:to_bool(m_config:get_value(site, email_images_noembed, Context)) of
true ->
[ embed_images_part(P, Context) || P <- Parts ];
Parts;
false ->
Parts
[ embed_images_part(P, Context) || P <- Parts ]
end.

embed_images_part({<<"text">>, <<"html">>, Hs, Ps, Html} = HtmlPart, Context) ->
Expand Down

0 comments on commit 45f8b21

Please sign in to comment.