fixed bug 694226

This commit is contained in:
JT Smith 2003-03-17 01:10:52 +00:00
parent 85eeaf28b4
commit d2ed8763ad
2 changed files with 3 additions and 1 deletions

View file

@ -224,7 +224,7 @@ sub _processOperations {
sub page {
my ($cache, $debug, $positions, $wobjectOutput, $pageEdit, $httpHeader, $content, $operationOutput, $template);
WebGUI::Session::open($_[0],$_[1]);
my $useCache = ($session{form}{op} eq "" && $session{form}{wid} eq "" && not $session{var}{adminOn});
my $useCache = ($session{form}{op} eq "" && $session{form}{wid} eq "" && $session{form}{makePrintable} eq "" && not $session{var}{adminOn});
if ($useCache) {
$cache = WebGUI::Cache->new("page_".$session{page}{pageId}."_".$session{user}{userId});
$content = $cache->get;