diff --git a/application/dashlet.class.inc.php b/application/dashlet.class.inc.php index bd5cebe50c..5a324c3562 100644 --- a/application/dashlet.class.inc.php +++ b/application/dashlet.class.inc.php @@ -530,7 +530,7 @@ abstract class DashletGroupBy extends Dashlet $this->sGroupByAttCode = $sGroupBy; $this->sFunction = null; } - if ($this->oModelReflection->IsValidAttCode($sClass, $this->sGroupByAttCode)) + if (($sClass != '') && $this->oModelReflection->IsValidAttCode($sClass, $this->sGroupByAttCode)) { $sAttLabel = $this->oModelReflection->GetLabel($sClass, $this->sGroupByAttCode); if (!is_null($this->sFunction))