summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/views/form_uploadify.html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php
index 588fa16d..4676fcef 100644
--- a/modules/gallery/views/form_uploadify.html.php
+++ b/modules/gallery/views/form_uploadify.html.php
@@ -88,6 +88,7 @@
</ul>
<? endif ?>
+<? if (!empty($album)): ?>
<div>
<p>
<?= t("Photos will be uploaded to album: ") ?>
@@ -99,6 +100,7 @@
<li class="g-active"> <?= html::purify($album->title) ?> </li>
</ul>
</div>
+<? endif ?>
<div id="g-add-photos-canvas">
<button id="g-add-photos-button" class="g-button ui-state-default ui-corner-all" href="#"><?= t("Select photos...") ?></button>