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

Precaution to avoid fatal error with some admin-ui configurations. Fontello preload code removed. (some cases may use FA instead)

This commit is contained in:
Cameron
2021-07-15 17:38:39 -07:00
parent 04576b9f79
commit ebe9c8cf13
2 changed files with 6 additions and 2 deletions

View File

@@ -3912,7 +3912,11 @@ class e_admin_controller_ui extends e_admin_controller
$format = !empty($opt['type']) ? ('input'.$opt['type']) : 'inputdate';
$value = trim($value) ? e107::getDate()->toTime($value, $format) : 0;
if($attributes['data'] !== false)
{
$value = trim($value) ? e107::getDate()->toTime($value, $format) : 0;
}
}
break;