From a9815ff452ae62c5fb3536c06bffac338db9ddec Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 18 Mar 2020 22:37:08 +0100 Subject: [PATCH] Update editor.php --- editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.php b/editor.php index b3ef36aa7..cfa6f37d9 100755 --- a/editor.php +++ b/editor.php @@ -136,7 +136,7 @@ if (empty($record) || !$has_access) { $info = tr('Il record รจ stato eliminato il _DATE_ da _USER_', [ - '_DATE_' => Translator::timestampToLocale($operation['created_at']), + '_DATE_' => (($operation['created_at']) ? Translator::timestampToLocale($operation['created_at']) : Translator::timestampToLocale($record['deleted_at'])), '_USER_' => ((!empty($operation['username'])) ? $operation['username'] : 'N.D.'), ]).'. ';