forked from verdnatura/hedera-web
Merge pull request 'hotfix-Ticket-#097414-traducción-meensaje-de-error' (!32) from hotfix-Ticket-#097414-traducción-meensaje-de-error into master
Reviewed-on: verdnatura/hedera-web#32 Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
commit
9146d28db5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue