Update commonobjectline.class.php

This commit is contained in:
Laurent Destailleur 2020-09-14 00:13:12 +02:00 committed by GitHub
parent 1c523abbd8
commit 0d9d9498e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ abstract class CommonObjectLine extends CommonObject
/** /**
* Returns the translation key from units dictionary. * Returns the label, shot_label or code found in units dictionary from ->fk_unit.
* A langs->trans() must be called on result to get translated value. * A langs->trans() must be called on result to get translated value.
* *
* @param string $type Label type (long, short or code). This can be a translation key. * @param string $type Label type (long, short or code). This can be a translation key.