All messages separated with , into errorsToString

This commit is contained in:
Laurent Destailleur 2016-02-05 18:37:01 +01:00
parent e9ee816826
commit bf7181a064

View File

@ -381,7 +381,7 @@ abstract class CommonObject
*/
function errorsToString()
{
return $this->error.(is_array($this->errors)?(($this->error!=''?' ':'').join(',',$this->errors)):'');
return $this->error.(is_array($this->errors)?(($this->error!=''?', ':'').join(', ',$this->errors)):'');
}
/**