mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Fix tests
This commit is contained in:
@@ -79,7 +79,7 @@ class module_report_validate extends module_report
|
||||
$caption = $value;
|
||||
if ($field == "getter") {
|
||||
if (null !== $user = $this->app['manipulator.user']->getRepository()->find($value)) {
|
||||
$caption = $user->getDisplayName();
|
||||
$caption = $user->getDisplayName($this->app['translator']);
|
||||
}
|
||||
} elseif ($field == 'date') {
|
||||
$caption = $this->app['date-formatter']->getPrettyString(new DateTime($value));
|
||||
|
Reference in New Issue
Block a user