Merge branch 'master' into df-lockedsettings-patch

This commit is contained in:
df 2020-10-23 11:45:30 +00:00
commit e579c8dd24

View File

@ -26,6 +26,9 @@ if {[file isdirectory $file]} {
set new [string map {"\n" ""} [ set new [string map {"\n" ""} [
string trim [cgi_get "rename_$attr"]]] string trim [cgi_get "rename_$attr"]]]
set old [$ts get $attr] set old [$ts get $attr]
if {$attr eq "title" || $attr eq "synopsis"} {
set new "\025$new"
}
if {$new ne $old} { if {$new ne $old} {
if {$attr eq "guidance" || if {$attr eq "guidance" ||
[string length $new] > 0} { [string length $new] > 0} {