Bugfix [ 822805 ] Emptying trash can cause fatal error

This commit is contained in:
Steve Simms 2004-03-04 16:18:23 +00:00
parent 294b9b2831
commit 976d01d4ff
2 changed files with 4 additions and 7 deletions

View file

@ -480,19 +480,14 @@ Updates the WebGUI session to reflect new page information.
=item pageId
Defaults to page id "1". Specify the page id to change this WebGUI session to use.
Defaults to the current page. Specify the page id to change this WebGUI session to use.
=back
=cut
sub refreshPageInfo {
my ($pageId);
if ($_[0] == 0) {
$pageId = $session{page}{pageId};
} else {
$pageId = $_[0];
}
my $pageId = $_[0];
_setupPageInfo($pageId);
}