Some miswritten variable ...

This commit is contained in:
Michael 2018-08-20 21:24:53 +00:00
parent df37b0f55c
commit bcc233b4ae

View File

@ -94,7 +94,7 @@ function langfilter_addon_settings_post(App $a, &$b)
$minlength = 0 + $_POST['langfilter_minlength'];
if (!$minlength) {
$minlength = 32;
} elseif ($minlengt8h < 0) {
} elseif ($minlength < 0) {
$minlength = 32;
}
PConfig::set(local_user(), 'langfilter', 'minlength', $minlength);