Dolibarr ERP & CRM » Bugs » bug #1638 Translate an empty text return a valueDernières modifications
Répondre
État Détails |
Submitted by: | benke (defrance) | | Submitted on: | 16/11/2014 16:24 |
Last Modified On: | 16/11/2014 16:48 | |
Summary: | Translate an empty text return a value |
Description: | $langs->trans('') return "ErrorBadValueForParamNotAString" instead "" |
Step to reproduce bug: | fixe already made on https://github.com/Dolibarr/dolibarr/pull/1888
Waiting to merge |
Detected in version: | 3.6.1 | | Category: | Core Problem |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Etat |
Status: | Open | | Assigned to: | Aucun |
Resolution: | Works for me | |
Commentaires- benke 16/11/2014 16:55
- Report looks to be more a feature request than a bug report. So i
close the request to move it from bug list. Waiting for a
developer to develop enhancement and send a request to include it. - Laurent Destailleur 16/11/2014 16:48
- Calling trans with empty key is like calling function with bad list of parameters. That's why we should return an error message.
|
|
close the request to move it from bug list. Waiting for a
developer to develop enhancement and send a request to include it.