Merge pull request !49 from Hex/patch-4

This commit is contained in:
Hex 2017-02-16 12:56:40 +08:00 committed by Discuz!
commit 508288ce1c
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ if($id) {
$seodata = array('album' => $album['albumname'], 'user' => $album['username'], 'depict' => $album['depict']);
list($navtitle, $metadescription, $metakeywords) = get_seosetting('album', $seodata);
if(empty($navtitle)) {
$navtitle = $album['albumname'].' - '.lang('space', 'sb_album', array('who' => $album['username']));
$navtitle = (empty($album['albumname']) ? '' : $album['albumname'].' - ').lang('space', 'sb_album', array('who' => $album['username']));
$nobbname = false;
} else {
$nobbname = true;