Autocommit tags created when making shortcuts in the Gallery (cross publishing). Fixes bug #11378

This commit is contained in:
Colin Kuskie 2010-02-01 17:01:24 -08:00
parent acc6447841
commit fc9e1152bf
2 changed files with 8 additions and 0 deletions

View file

@ -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;
}