diff options
author | Thomas Willingham <founder@kakste.com> | 2013-06-07 03:46:43 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-06-07 03:46:43 +0100 |
commit | 466a6d5227fbaf0a36cd76b5603cb42bb1b7462b (patch) | |
tree | 395936a63e27fa105e0dc69d13c1b951dc9e9439 /mod/photos.php | |
parent | dc6472e046ee6ac0afc934e8ad1edc1e281a3cb0 (diff) | |
parent | c21f8c68e39e22a0348e5717109f0005d4d35809 (diff) | |
download | volse-hubzilla-466a6d5227fbaf0a36cd76b5603cb42bb1b7462b.tar.gz volse-hubzilla-466a6d5227fbaf0a36cd76b5603cb42bb1b7462b.tar.bz2 volse-hubzilla-466a6d5227fbaf0a36cd76b5603cb42bb1b7462b.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/photos.php b/mod/photos.php index 5b81e18a7..65bf866f1 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -650,10 +650,10 @@ function photos_content(&$a) { $albumselect .= '<option value="" ' . ((! $selname) ? ' selected="selected" ' : '') . '> </option>'; if(count($a->data['albums'])) { foreach($a->data['albums'] as $album) { - if(($album['album'] === '') || ($album['album'] === 'Contact Photos') || ($album['album'] === t('Contact Photos'))) + if($album['text'] === '') continue; - $selected = (($selname === $album['album']) ? ' selected="selected" ' : ''); - $albumselect .= '<option value="' . $album['album'] . '"' . $selected . '>' . $album['album'] . '</option>'; + $selected = (($selname === $album['text']) ? ' selected="selected" ' : ''); + $albumselect .= '<option value="' . $album['text'] . '"' . $selected . '>' . $album['text'] . '</option>'; } } |