diff --git a/index.php b/index.php index 3c09e02..2827eac 100644 --- a/index.php +++ b/index.php @@ -2004,7 +2004,9 @@ function buildLinkList($PAGE,$LINKSDB) $PAGE->assign('next_page_url',$next_page_url); $PAGE->assign('page_current',$page); $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('search_type',$search_type); $PAGE->assign('search_crits',$search_crits);