mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-12 09:13:07 +01:00
max wf bugfix
This commit is contained in:
parent
1a154223ea
commit
437ff83696
@ -451,7 +451,7 @@ OEKAKI;
|
|||||||
$w = $_POST['with'][$i];
|
$w = $_POST['with'][$i];
|
||||||
|
|
||||||
if (strlen($w) > 255) {
|
if (strlen($w) > 255) {
|
||||||
error(sprintf(_('Sorry, %s is too long. Max replacement is 255 characters', utf8tohtml($w))));
|
error(sprintf(_('Sorry, %s is too long. Max replacement is 255 characters'), utf8tohtml($w)));
|
||||||
}
|
}
|
||||||
|
|
||||||
$replace .= '$config[\'wordfilters\'][] = array(base64_decode(\'' . base64_encode($r) . '\'), base64_decode(\'' . base64_encode($w) . '\'));';
|
$replace .= '$config[\'wordfilters\'][] = array(base64_decode(\'' . base64_encode($r) . '\'), base64_decode(\'' . base64_encode($w) . '\'));';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user