fixed: Copied assets don't always get URL extensions added
This commit is contained in:
parent
718b166ae7
commit
4350966866
2 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.7.18
|
||||
- fixed: Copied assets don't always get URL extensions added
|
||||
- fixed #10789: Inbox message states not deleted when a user is deleted
|
||||
- fixed #10790: Data Form doesn't always auto-commit version tags
|
||||
- fixed #10739: Textarea and Codearea resize don't work in IE or Webkit browsers
|
||||
|
|
|
|||
|
|
@ -700,7 +700,6 @@ sub fixUrl {
|
|||
# add automatic extension if we're supposed to
|
||||
if ($self->session->setting->get("urlExtension") ne "" #don't add an extension if one isn't set
|
||||
&& !($url =~ /\./) # don't add an extension of the url already contains a dot
|
||||
&& !$self->get("url") # Only add it if this is a new asset.
|
||||
&& $url ne lc($self->getId) # but don't assign it the original time
|
||||
) {
|
||||
$url .= ".".$self->session->setting->get("urlExtension");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue