Skip to content

Commit

Permalink
fix: Delete move on Gk without avatar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed Nov 16, 2023
1 parent f42b57c commit 00376b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/app-templates/smarty/dialog/move_delete.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{if $move->pictures_count}
<hr>
<div class="alert alert-danger" role="alert">
{if $move->pictures->contains($move->geokret->avatar->id)}
{if !is_null($move->geokret->avatar) && $move->pictures->contains($move->geokret->avatar->id)}
{t}Deleting this Move will delete attached pictures and the main avatar!{/t}
{else}
{t}Deleting this Move will delete attached pictures!{/t}
Expand Down

0 comments on commit 00376b9

Please sign in to comment.