- Added an option to override the session cookie domain.
- fix: Search results not showing synopses - fix: Redirects get displayed inside page layouts as '0' - fix: Mysterious "0" Appearing When Admin Is Off - fix: Deletion of Products
This commit is contained in:
parent
6a88fa5ca2
commit
c956ba3969
9 changed files with 36 additions and 7 deletions
|
|
@ -111,7 +111,10 @@ sub www_view {
|
|||
<li><a href="'.$self->getParent->getUrl.'">'.$i18n->get("go to the redirect parent page").'</a></li>
|
||||
</ul>',$i18n->get("assetName"));
|
||||
}
|
||||
$self->session->http->setRedirect($url) unless $url eq $self->get("url");
|
||||
unless ($url eq $self->get("url")) {
|
||||
$self->session->http->setRedirect($url);
|
||||
return "";
|
||||
}
|
||||
return $i18n->get('self_referential');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ sub view {
|
|||
push(@results, {
|
||||
url=>$data->{url},
|
||||
title=>$data->{title},
|
||||
synposis=>$data->{synopsis},
|
||||
synopsis=>$data->{synopsis},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue