From 7d549b3e352e870dcf445885e46443d07faead5a Mon Sep 17 00:00:00 2001 From: Vadim Tokarchuk Date: Tue, 21 Feb 2017 15:20:17 +0200 Subject: [PATCH] HRM-240: Fixed update action error in dev mode (#7777) --- .../Bundle/UIBundle/Resources/views/actions/update.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Oro/Bundle/UIBundle/Resources/views/actions/update.html.twig b/src/Oro/Bundle/UIBundle/Resources/views/actions/update.html.twig index b48a0eecd65..0d5c88859ac 100644 --- a/src/Oro/Bundle/UIBundle/Resources/views/actions/update.html.twig +++ b/src/Oro/Bundle/UIBundle/Resources/views/actions/update.html.twig @@ -114,7 +114,7 @@ 'entity': entity|default(form.vars.value), 'entity_class': audit_entity_class|default(null), 'id': audit_entity_id, - 'title': audit_title|default(form.vars.value.__toString is defined ? form.vars.value : null), + 'title': audit_title|default(form.vars.value.__toString is defined ? form.vars.value.__toString : null), 'audit_path': audit_path|default('oro_dataaudit_history'), 'audit_show_change_history': audit_show_change_history|default(false) } %}