Fix bad page title

This commit is contained in:
Knah Tsaeb 2016-06-10 16:00:08 +02:00
parent 35cc3582f0
commit a076447c7c

View file

@ -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);
if (!empty($GLOBALS['pagetitle']) && count($linkDisp) == 1) {
$PAGE->assign('pagetitle', $GLOBALS['pagetitle']); $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);