projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97201d9
)
Specify a default value for `enable_censorship`
author
Tim Düsterhus
<duesterhus@woltlab.com>
Fri, 22 Oct 2021 08:41:52 +0000
(10:41 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Fri, 22 Oct 2021 08:41:52 +0000
(10:41 +0200)
This did not cause issues in practice, as `options.inc.php` reliably contained
a `0` as the option’s value.
Fixes #4565
com.woltlab.wcf/option.xml
patch
|
blob
|
blame
|
history
diff --git
a/com.woltlab.wcf/option.xml
b/com.woltlab.wcf/option.xml
index 8d354d20e4e8f3ad191931caf5d58ba0e10d74d0..34e7f1e3dce4955aa843138da794de7ef8b51dac 100644
(file)
--- a/
com.woltlab.wcf/option.xml
+++ b/
com.woltlab.wcf/option.xml
@@
-1131,6
+1131,7
@@
XING</selectoptions>
<categoryname>message.censorship</categoryname>
<optiontype>boolean</optiontype>
<enableoptions>censored_words</enableoptions>
+ <defaultvalue>0</defaultvalue>
</option>
<option name="censored_words">
<categoryname>message.censorship</categoryname>