From 323fc1f9a5d4bc9d0c40c9931993b8dc9e81e2bd Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 6 Jan 2014 02:54:08 -0800 Subject: fix photos/upload album selector --- mod/photos.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/photos.php b/mod/photos.php index 85d3f50b0..5afde49ef 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -647,12 +647,21 @@ function photos_content(&$a) { return; } + + + if(array_key_exists('albums', $a->data)) + $albums = get_app()->data['albums']; + else + $albums = photos_albums_list($a->data['channel'],$a->data['observer']); + + + $selname = (($datum) ? hex2bin($datum) : ''); $albumselect = '