WebGUI 3.4.1 release

This commit is contained in:
JT Smith 2002-03-07 15:30:00 +00:00
parent a93b42789a
commit 6633adf10d
5 changed files with 503 additions and 366 deletions

View file

@ -149,9 +149,14 @@ sub open {
#-------------------------------------------------------------------
sub refreshPageInfo {
my (%PAGE);
my (%PAGE, $pageId);
tie %PAGE, 'Tie::CPHash';
%PAGE = _getPageInfo($_[0],$session{dbh},$session{setting}{notFoundPage},$session{config}{scripturl});
if ($_[0] == 0) {
$pageId = 1;
} else {
$pageId = $_[0];
}
%PAGE = _getPageInfo($pageId,$session{dbh},$session{setting}{notFoundPage},$session{config}{scripturl});
$session{page} = \%PAGE;
}