dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1638] Translate an empty text return a value


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1638] Translate an empty text return a value
Date: Sun, 16 Nov 2014 16:48:47 +0100

Doliforge
Is this email not displaying correctly?
update email preferences.

Translate an empty text return a value

Latest modifications

2014-11-16 16:48 (Europe/Paris)
Calling trans with empty key is like calling function with bad list of parameters. That's why we should return an error message.
Changes:
  • Resolution: 
NoneWorks for me

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]