mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44: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')) {
|
if ($request->filled('custom_format')) {
|
||||||
$field->format = e($request->get('custom_format'));
|
$field->format = $request->get('custom_format');
|
||||||
} else {
|
} else {
|
||||||
$field->format = e($request->get('format'));
|
$field->format = $request->get('format');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($field->save()) {
|
if ($field->save()) {
|
||||||
|
|
Loading…
Reference in a new issue