A free open source IT asset/license management system
Remove e() function from customfield format input
Ivan Nieto Vivanco53e449899b92
diff --git a/app/Http/Controllers/CustomFieldsController.php b/app/Http/Controllers/CustomFieldsController.phpindex 4eb31450ee..e29cbaa3fc 100644--- a/app/Http/Controllers/CustomFieldsController.php+++ b/app/Http/Controllers/CustomFieldsController.php@@ -109,9 +109,9 @@ class CustomFieldsController extends Controllerif ($request->filled('custom_format')) {- $field->format = e($request->get('custom_format'));+ $field->format = $request->get('custom_format');} else {- $field->format = e($request->get('format'));+ $field->format = $request->get('format');}if ($field->save()) {