Autocommit tags created when making shortcuts in the Gallery (cross publishing). Fixes bug #11378
This commit is contained in:
parent
acc6447841
commit
fc9e1152bf
2 changed files with 8 additions and 0 deletions
|
|
@ -562,6 +562,13 @@ sub makeShortcut {
|
|||
$shortcut->setOverride( $overrides );
|
||||
}
|
||||
|
||||
if (WebGUI::VersionTag->autoCommitWorkingIfEnabled($session, {
|
||||
allowComments => 1,
|
||||
returnUrl => $self->getUrl,
|
||||
}) eq 'redirect') {
|
||||
return 'redirect';
|
||||
};
|
||||
|
||||
return $shortcut;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue