Merge pull request #8352 from MrPetovan/bug/8002-album-drop-cancel

Use sensible URLs for return after album actions instead of $_SESSION['photo_return'] in mod/photos
This commit is contained in:
Philipp
2020-03-01 22:21:33 +01:00
committed by GitHub
2 changed files with 3 additions and 6 deletions
-3
View File
@@ -1,8 +1,5 @@
<h3 id="photo-album-title">{{$album}}</h3>
{{if $edit}}
<div id="album-edit-link"><a href="{{$edit.1}}" title="{{$edit.0}}">{{$edit.0}}</a></div>
{{/if}}
{{if $edit}}
<div id="album-edit-link"><a href="{{$edit.1}}" title="{{$edit.0}}">{{$edit.0}}</a></div>
{{/if}}