From 13068ba3c5fc4837155b05874c467dfa6f45ca98 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 29 Jan 2020 09:22:42 +0100 Subject: [PATCH] Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()" Signed-off-by: Joas Schilling --- apps/workflowengine/lib/Entity/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php index e849ddce7f462..84e750815b64a 100644 --- a/apps/workflowengine/lib/Entity/File.php +++ b/apps/workflowengine/lib/Entity/File.php @@ -172,7 +172,7 @@ public function getDisplayText(int $verbosity = 0): string { } $options = [ - $user ? $user->getDisplayName() : $this->t('Someone'), + $user ? $user->getDisplayName() : $this->l10n->t('Someone'), $node->getName() ];