Update commonobject.class.php

This commit is contained in:
Laurent Destailleur 2021-03-09 15:13:20 +01:00 committed by GitHub
parent ce5324c08c
commit 3cb072f67a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8255,11 +8255,10 @@ abstract class CommonObject
/**
* Function to concat keys of fields
*
* @param array $alias content informations of field
*
* @return string
* @param string $alias String of alias of table for fields. For example 't'.
* @return string list of alias fields
*/
protected function getFieldList($alias = 't')
protected function getFieldList($alias = '')
{
$keys = array_keys($this->fields);
if (!empty($alias)) {