Merge branch 'master' of https://gitea.verdnatura.es/verdnatura/hedera-web
gitea/hedera-web/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2023-06-20 16:08:14 +02:00
commit 2905a6ab57
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class RestService extends Service {
if ($e->getCode() == 1644) {
$eMessage = $e->getMessage();
$tMessage = $db->getValue(
'SELECT `description` FROM `message` WHERE `code` = #',
'SELECT `description` FROM `messageL10n` WHERE `code` = #',
[$eMessage]
);
if (!$tMessage) $tMessage = $eMessage;