From e0c6ee208297123ddc2aa37eadda69289230a01f Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 5 Jun 2013 23:07:52 -0700 Subject: photo album listing widget broken --- mod/photos.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/photos.php') 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 .= ''; 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 .= ''; + $selected = (($selname === $album['text']) ? ' selected="selected" ' : ''); + $albumselect .= ''; } } -- cgit v1.2.3