summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/photoalbum.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/photoalbum.sh b/src/photoalbum.sh
index 85394ea..35002e7 100755
--- a/src/photoalbum.sh
+++ b/src/photoalbum.sh
@@ -70,7 +70,6 @@ function albumhtml() {
declare html_dir="${1}" ; shift
declare thumbs_dir="${1}" ; shift
declare backhref="${1}" ; shift
- declare is_subalbum=no
declare -i num=1
declare -i i=0
declare name=page-${num}
@@ -149,6 +148,7 @@ function albumhtml() {
function albumindexhtml() {
declare -a dirs=( "${1}" )
+ declare is_subalbum=no
html_dir=html
backhref=..