Let's try that again
This commit is contained in:
parent
d68d95e08d
commit
35e0832ec0
@ -87,12 +87,11 @@ class PhotosAction extends Action
|
||||
function showAlbums()
|
||||
{
|
||||
$album = new GNUsocialPhotoAlbum();
|
||||
$album->user_id = $this->user->id;
|
||||
$album->profile_id = $this->user->id;
|
||||
|
||||
$albums = array();
|
||||
if (!$album->find()) {
|
||||
$cur = common_current_user();
|
||||
GNUsocialPhotoAlbum::newAlbum($cur->profile_id, 'Default');
|
||||
GNUsocialPhotoAlbum::newAlbum($this->user->id, 'Default');
|
||||
}
|
||||
|
||||
$this->elementStart('div', array('class' => 'galleryheader'));
|
||||
|
Loading…
Reference in New Issue
Block a user