Changeset 13132
- Timestamp:
- 11/03/09 02:06:03 (3 weeks ago)
- Files:
-
- trunk/modules/boonex/files/classes/BxFilesPageAlbumsMy.php (modified) (1 diff)
- trunk/modules/boonex/photos/classes/BxPhotosPageAlbumsMy.php (modified) (1 diff)
- trunk/modules/boonex/sounds/classes/BxSoundsPageAlbumsMy.php (modified) (1 diff)
- trunk/modules/boonex/videos/classes/BxVideosPageAlbumsMy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/modules/boonex/files/classes/BxFilesPageAlbumsMy.php
r13050 r13132 107 107 ); 108 108 $sCaption = str_replace('{nickname}', getNickName($this->iOwnerId), $this->oConfig->getGlParam('profile_album_name')); 109 $a List = $this->oAlbum->getAlbumList(array('owner' => $this->iOwnerId, 'caption' => $sCaption, 'show_empty' => true), 0, 0, true);110 if ( empty($aList)) {109 $aOwnerDefAlbumInfo = $this->oAlbum->getAlbumInfo(array('fileUri'=>uriFilter($sCaption), 'owner'=>$this->iOwnerId)); 110 if (!is_array($aOwnerDefAlbumInfo) || empty($aOwnerDefAlbumInfo)) { 111 111 $aData = array( 112 112 'caption' => $sCaption, trunk/modules/boonex/photos/classes/BxPhotosPageAlbumsMy.php
r13050 r13132 107 107 ); 108 108 $sCaption = str_replace('{nickname}', getNickName($this->iOwnerId), $this->oConfig->getGlParam('profile_album_name')); 109 $a List = $this->oAlbum->getAlbumList(array('owner' => $this->iOwnerId, 'caption' => $sCaption, 'show_empty' => true), 0, 0, true);110 if ( empty($aList)) {109 $aOwnerDefAlbumInfo = $this->oAlbum->getAlbumInfo(array('fileUri'=>uriFilter($sCaption), 'owner'=>$this->iOwnerId)); 110 if (!is_array($aOwnerDefAlbumInfo) || empty($aOwnerDefAlbumInfo)) { 111 111 $aData = array( 112 112 'caption' => $sCaption, trunk/modules/boonex/sounds/classes/BxSoundsPageAlbumsMy.php
r13050 r13132 112 112 ); 113 113 $sCaption = str_replace('{nickname}', getNickName($this->iOwnerId), $this->oConfig->getGlParam('profile_album_name')); 114 $a List = $this->oAlbum->getAlbumList(array('owner' => $this->iOwnerId, 'caption' => $sCaption, 'show_empty' => true), 0, 0, true);115 if ( empty($aList)) {114 $aOwnerDefAlbumInfo = $this->oAlbum->getAlbumInfo(array('fileUri'=>uriFilter($sCaption), 'owner'=>$this->iOwnerId)); 115 if (!is_array($aOwnerDefAlbumInfo) || empty($aOwnerDefAlbumInfo)) { 116 116 $aData = array( 117 117 'caption' => $sCaption, trunk/modules/boonex/videos/classes/BxVideosPageAlbumsMy.php
r13050 r13132 112 112 ); 113 113 $sCaption = str_replace('{nickname}', getNickName($this->iOwnerId), $this->oConfig->getGlParam('profile_album_name')); 114 $a List = $this->oAlbum->getAlbumList(array('owner' => $this->iOwnerId, 'caption' => $sCaption, 'show_empty' => true), 0, 0, true);115 if ( empty($aList)) {114 $aOwnerDefAlbumInfo = $this->oAlbum->getAlbumInfo(array('fileUri'=>uriFilter($sCaption), 'owner'=>$this->iOwnerId)); 115 if (!is_array($aOwnerDefAlbumInfo) || empty($aOwnerDefAlbumInfo)) { 116 116 $aData = array( 117 117 'caption' => $sCaption,

