Browse Source

- pie chart labels do not support HTML, only plain text (at least in this version of OFC)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@302 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 years ago
parent
commit
ae07b6a289
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/displayblock.class.inc.php

+ 1 - 1
application/displayblock.class.inc.php

@@ -552,7 +552,7 @@ class DisplayBlock
 					$aGroupBy = array();
 					$aGroupBy = array();
 					while($oObj = $this->m_oSet->Fetch())
 					while($oObj = $this->m_oSet->Fetch())
 					{
 					{
-						$sValue = $oObj->GetAsHtml($sGroupByField);
+						$sValue = $oObj->Get($sGroupByField);
 						$aGroupBy[$sValue] = isset($aGroupBy[$sValue]) ? $aGroupBy[$sValue]+1 : 1;
 						$aGroupBy[$sValue] = isset($aGroupBy[$sValue]) ? $aGroupBy[$sValue]+1 : 1;
 					}
 					}
 					$sFilter = urlencode($this->m_oFilter->serialize());
 					$sFilter = urlencode($this->m_oFilter->serialize());