Dolibarr ERP & CRM » Bugs » bug #1638 Translate an empty text return a valueLatest modifications
Answer now
Snapshot Details |
Submitted by: | benke (defrance) | | Submitted on: | 2014-11-16 16:24 |
Last Modified On: | 2014-11-16 16:24 | |
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: | |
Status |
Status: | Open | | Assigned to: | None |
Resolution: | Works for me | |
Comments- Laurent Destailleur 2014-11-16 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.
|
|
None→ Works for me