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
|
|
@ -11,6 +11,7 @@
|
||||||
- fixed: Due to a typo France was not considered part of the EU by the EU TaxDriver. ( Martin Kamerbeek / Oqapi )
|
- fixed: Due to a typo France was not considered part of the EU by the EU TaxDriver. ( Martin Kamerbeek / Oqapi )
|
||||||
- fixed #11292: Made search less sticky
|
- fixed #11292: Made search less sticky
|
||||||
- fixed #11377: Normal users can delete revisions in wiki
|
- fixed #11377: Normal users can delete revisions in wiki
|
||||||
|
- fixed #11378: Cross publishing gallery files does not auto commit
|
||||||
|
|
||||||
7.8.10
|
7.8.10
|
||||||
- fixed #11332: Pagination in webgui.org forum urls
|
- fixed #11332: Pagination in webgui.org forum urls
|
||||||
|
|
|
||||||
|
|
@ -562,6 +562,13 @@ sub makeShortcut {
|
||||||
$shortcut->setOverride( $overrides );
|
$shortcut->setOverride( $overrides );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (WebGUI::VersionTag->autoCommitWorkingIfEnabled($session, {
|
||||||
|
allowComments => 1,
|
||||||
|
returnUrl => $self->getUrl,
|
||||||
|
}) eq 'redirect') {
|
||||||
|
return 'redirect';
|
||||||
|
};
|
||||||
|
|
||||||
return $shortcut;
|
return $shortcut;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue