1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Bbcode code optimization and test.

This commit is contained in:
Cameron
2020-12-15 08:59:31 -08:00
parent 44e260b121
commit f80d611202
10 changed files with 378 additions and 256 deletions

View File

@@ -910,8 +910,9 @@ class e107_user_extended
{
$tp = e107::getParser();
$frm = e107::getForm();
if(trim($curval) == "" && $struct['user_extended_struct_default'] != "")
$curval = trim($curval);
if(empty($curval) && !empty($struct['user_extended_struct_default']))
{
$curval = $struct['user_extended_struct_default'];
}