Bugfix [ 822805 ] Emptying trash can cause fatal error
This commit is contained in:
parent
294b9b2831
commit
976d01d4ff
2 changed files with 4 additions and 7 deletions
|
|
@ -94,4 +94,6 @@ webgui.
|
||||||
from previous distributions or th 5.5 branch in CVS.
|
from previous distributions or th 5.5 branch in CVS.
|
||||||
- Added Job Listing templates to the USS.
|
- Added Job Listing templates to the USS.
|
||||||
- Added a view privileges setting to each forum.
|
- Added a view privileges setting to each forum.
|
||||||
|
- Bugfix [ 822805 ] Emptying trash can cause fatal error
|
||||||
|
(Thanks to Steve Simms.)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -480,19 +480,14 @@ Updates the WebGUI session to reflect new page information.
|
||||||
|
|
||||||
=item pageId
|
=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
|
=back
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
sub refreshPageInfo {
|
sub refreshPageInfo {
|
||||||
my ($pageId);
|
my $pageId = $_[0];
|
||||||
if ($_[0] == 0) {
|
|
||||||
$pageId = $session{page}{pageId};
|
|
||||||
} else {
|
|
||||||
$pageId = $_[0];
|
|
||||||
}
|
|
||||||
_setupPageInfo($pageId);
|
_setupPageInfo($pageId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue