* Add unit test for pivotModel::getColLabelValue.

This commit is contained in:
wangxuepeng
2023-12-13 09:04:31 +08:00
parent ec29c2cc66
commit e4e49ed9dc
2 changed files with 36 additions and 1 deletions
+1 -1
View File
@@ -896,7 +896,7 @@ class pivotModel extends model
* @access private
* @return string
*/
private function getColLabelValue(string $field, string $fieldObject, string $relatedField, string $clientLang, array $langs = array()): string
public function getColLabelValue(string $field, string $fieldObject, string $relatedField, string $clientLang, array $langs = array()): string
{
$colLabel = $field;
if(isset($langs[$field][$clientLang]))