Clean up help text and format of admin_mail

This commit is contained in:
Kijin Sung 2025-09-05 21:39:26 +09:00
parent 0b33bb39e5
commit 0e0f14d8e7
3 changed files with 4 additions and 3 deletions

View file

@ -88,6 +88,7 @@ class BoardAdminController extends Board {
$args->meta_description = trim(utf8_normalize_spaces($args->meta_description));
$args->header_text = Rhymix\Modules\Admin\Models\Utility::cleanHeaderAndFooterScripts($args->header_text ?? '');
$args->footer_text = Rhymix\Modules\Admin\Models\Utility::cleanHeaderAndFooterScripts($args->footer_text ?? '');
$args->admin_mail = implode(', ', array_map('trim', explode(',', $args->admin_mail ?? '')));
// if there is an existed module
if ($args->module_srl && $module_info->module_srl != $args->module_srl)