Merge pull request 'hotfix-Ticket-#097414-traducción-meensaje-de-error' (!32) from hotfix-Ticket-#097414-traducción-meensaje-de-error into master
gitea/hedera-web/pipeline/head There was a failure building this commit Details

Reviewed-on: #32
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
Carlos Andrés 2023-06-20 12:02:02 +00:00
commit 9146d28db5
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;