1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Fixes #4806 - news keyword maxlength limitation fix.

This commit is contained in:
Cameron
2022-06-30 19:01:52 -07:00
parent 4f6b41d73e
commit c494c04c7e
3 changed files with 6 additions and 3 deletions

View File

@@ -5648,7 +5648,10 @@ var_dump($select_options);*/
'e_editable' => $field . '_' . $id,
);
$tpl = $this->text($field, $value, 80, $options);
$maxlength = vartrue($parms['maxlength'], 80);
unset($parms['maxlength']);
$tpl = $this->text($field, $value, $maxlength, $options);
$mode = preg_replace('/[\W]/', '', vartrue($_GET['mode']));
$value = "<a" . $this->attributes([