clean up more uses of ->get
This commit is contained in:
parent
2a3482b1c3
commit
22619cfb9a
4 changed files with 42 additions and 41 deletions
|
|
@ -457,7 +457,7 @@ sub page {
|
|||
if ($useFullUrl) {
|
||||
$url = $self->getSiteURL();
|
||||
}
|
||||
my $path = $self->session->asset ? $self->session->asset->get("url") : URI::Escape::uri_escape_utf8($self->getRequestedUrl, "^A-Za-z0-9\-_.!~*'()/");
|
||||
my $path = $self->session->asset ? $self->session->asset->url : URI::Escape::uri_escape_utf8($self->getRequestedUrl, "^A-Za-z0-9\-_.!~*'()/");
|
||||
$url .= $self->gateway($path, $pairs, $skipPreventProxyCache);
|
||||
return $url;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue