dolibarr-bugtrack
[Top][All Lists]
Advanced

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

[Dolibarr-bugtrack] [Bug #1542] extrafields.class.php, showOutputField w


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1542] extrafields.class.php, showOutputField wrong translate
Date: Sun, 27 Jul 2014 09:46:41 +0200

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

extrafields.class.php, showOutputField wrong translate

Snapshot

 Details
Last Modified On:  2014-07-27 09:46 Submitted by:  Javier (javieral)
Submitted on:  2014-07-27 09:46 
Summary:  extrafields.class.php, showOutputField wrong translate
Description:  When I use an extrafield type sellist, if the fields label is translatable, this translates, and the result is not displayed. Only the label of the translated field.

I think that the line:

$translabel=$langs->trans($field_toshow);

should be:

$translabel=$langs->trans($obj->$field_toshow);
Step to reproduce bug:  Create extrafield in facturedet, type sellist, with params "name_table:name:rowid::", where 'name' is the field in MySQL table.

Detected in version:  develop Category:  Module: Customer Invoices
Severity:  5 - Major OS Type/Version:  All
PHP version:  5.4.12 Database type and version:  MySQL 5.6.12
 Status
Status:  Open Assigned to:  None
Resolution:  None 

Answer now



reply via email to

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