Merge pull request #715 from annando/notices

Some miswritten variable ...
pull/716/head
Tobias Diekershoff 2018-08-21 06:00:42 +02:00 committed by GitHub
commit 16dfd15cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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