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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user