Skip to content

Commit

Permalink
Merge pull request #19190 from nextcloud/backport/19186/stable18
Browse files Browse the repository at this point in the history
[stable18] Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"
  • Loading branch information
blizzz authored Jan 29, 2020
2 parents 3cc69aa + 13068ba commit 1050cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/workflowengine/lib/Entity/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
];

Expand Down

0 comments on commit 1050cc2

Please sign in to comment.