mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Remove e() function from customfield format input
This commit is contained in:
parent
f7df2ae403
commit
6936efd387
|
@ -109,9 +109,9 @@ class CustomFieldsController extends Controller
|
|||
|
||||
|
||||
if ($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()) {
|
||||
|
|
Loading…
Reference in a new issue