Fix bad page title
This commit is contained in:
parent
35cc3582f0
commit
a076447c7c
1 changed files with 3 additions and 1 deletions
|
@ -2004,7 +2004,9 @@ function buildLinkList($PAGE,$LINKSDB)
|
||||||
$PAGE->assign('next_page_url',$next_page_url);
|
$PAGE->assign('next_page_url',$next_page_url);
|
||||||
$PAGE->assign('page_current',$page);
|
$PAGE->assign('page_current',$page);
|
||||||
$PAGE->assign('page_max',$pagecount);
|
$PAGE->assign('page_max',$pagecount);
|
||||||
$PAGE->assign('pagetitle', $GLOBALS['pagetitle']);
|
if (!empty($GLOBALS['pagetitle']) && count($linkDisp) == 1) {
|
||||||
|
$PAGE->assign('pagetitle', $GLOBALS['pagetitle']);
|
||||||
|
}
|
||||||
$PAGE->assign('result_count',count($linksToDisplay));
|
$PAGE->assign('result_count',count($linksToDisplay));
|
||||||
$PAGE->assign('search_type',$search_type);
|
$PAGE->assign('search_type',$search_type);
|
||||||
$PAGE->assign('search_crits',$search_crits);
|
$PAGE->assign('search_crits',$search_crits);
|
||||||
|
|
Loading…
Reference in a new issue