- fix: crash bug in if modified cache checking
- The default database setup no longer uses the popular "news" url.
This commit is contained in:
parent
9c4a9edb3c
commit
bb55071535
3 changed files with 5 additions and 3 deletions
|
|
@ -1,5 +1,7 @@
|
|||
7.4.7
|
||||
- fix: misspelled i18n in webgui password recovery
|
||||
- fix: crash bug in if modified cache checking
|
||||
- The default database setup no longer uses the popular "news" url.
|
||||
- add type variable to Data Form record loop
|
||||
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -192,7 +192,7 @@ sub contentHandler {
|
|||
my $asset = getAsset($session, getRequestedAssetUrl($session));
|
||||
|
||||
# display from cache if page hasn't been modified.
|
||||
if ($session->var->get("userId") eq "1" && !$http->ifModifiedSince($asset->getContentLastModified)) {
|
||||
if ($session->var->get("userId") eq "1" && defined $asset && !$http->ifModifiedSince($asset->getContentLastModified)) {
|
||||
$http->setStatus("304","Content Not Modified");
|
||||
$http->sendHeader;
|
||||
$session->close;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue