change album_id logic to make it work with ajax calls

This commit is contained in:
Mario Vavti
2015-12-07 13:27:35 +01:00
parent 69c9f4588c
commit 0df4f9c114
2 changed files with 4 additions and 3 deletions

View File

@@ -1299,7 +1299,6 @@ function widget_album($args) {
//edit album name
$album_edit = null;
$photos = array();
if($r) {
$twist = 'rotright';