From 6d7cec7a6e5aff6a09adb2ccf8b27d3ce4987832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Fri, 27 Dec 2019 14:36:22 +0100 Subject: [PATCH] Removed translator call to non existing (and not needed) translator This should fix the errors on travis. --- src/Form/AdminPages/CategoryAdminForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/AdminPages/CategoryAdminForm.php b/src/Form/AdminPages/CategoryAdminForm.php index 6826d1be..e2c63eeb 100644 --- a/src/Form/AdminPages/CategoryAdminForm.php +++ b/src/Form/AdminPages/CategoryAdminForm.php @@ -73,7 +73,7 @@ class CategoryAdminForm extends BaseEntityAdminForm $builder->add('default_comment', TextType::class, ['required' => false, 'empty_data' => '', 'label' => 'category.edit.default_comment', - 'attr' => ['placeholder' => $this->trans->trans('category.edit.default_comment.placeholder')], + 'attr' => ['placeholder' => 'category.edit.default_comment.placeholder'], 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), ]); } }