From 15da430459ef90269be30505a5478d2a66d5e0bf Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Mon, 3 Apr 2017 14:49:49 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B0686=20-=20protect=20the=20edition=20of?= =?UTF-8?q?=20dashboards=20against=20a=20no-longer-existing=20class.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[4655] --- application/dashlet.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))