URLs that shouldn't happen (#10353)
This commit is contained in:
parent
19b333067e
commit
2b6b8872dd
2 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- fixed #10336: postReceivedTemplateId not corrected in upgrade_7.6.0-7.6.1 (Jukka Raimovaara / Axxion Oy)
|
||||
- fixed: Crud handling of Form fields with database types that cannot have default values.
|
||||
- fixed: Crud serialization.
|
||||
- fixed: URLs that shouldn't happen (#10353)
|
||||
- fixed: i18n typo in Survey exit URL hover help.
|
||||
- fixed: Survey jump target and jump expression precedence order across Section, Question, Answer.
|
||||
|
||||
|
|
|
|||
|
|
@ -698,7 +698,7 @@ sub fixUrl {
|
|||
# check to see if the url already exists or not, and increment it if it does
|
||||
if ($self->urlExists($self->session, $url, {assetId=>$self->getId})) {
|
||||
my @parts = split(/\./,$url);
|
||||
if ($parts[0] =~ /(.*)(\d+$)/) {
|
||||
if ($parts[0] =~ /(.*?)(\d+$)/) {
|
||||
$parts[0] = $1.($2+1);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue