fixing typo
This commit is contained in:
parent
718ca3eed4
commit
06e1acf350
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ sub getShortcutByCriteria {
|
||||||
if ($assetId) {
|
if ($assetId) {
|
||||||
$scratchId = "Shortcut_" . $assetId;
|
$scratchId = "Shortcut_" . $assetId;
|
||||||
if($self->session->scratch->get($scratchId) && !$self->getValue("disableContentLock")) {
|
if($self->session->scratch->get($scratchId) && !$self->getValue("disableContentLock")) {
|
||||||
unless ($self->session->var->get("adminOn") {
|
unless ($self->session->var->get("adminOn")) {
|
||||||
return WebGUI::Asset->newByDynamicClass($self->session, $self->session->scratch->get($scratchId));
|
return WebGUI::Asset->newByDynamicClass($self->session, $self->session->scratch->get($scratchId));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue