* Add case of execution model.
This commit is contained in:
@@ -1651,15 +1651,8 @@ class executionTest
|
||||
*/
|
||||
public function getBurnDataFlotTest($executionID = 0)
|
||||
{
|
||||
$date = date("Y-m-d");
|
||||
$object = $this->objectModel->getBurnDataFlot($executionID, $burnBy = 'left');
|
||||
|
||||
$todayData = array();
|
||||
if(isset($object[$date]))
|
||||
{
|
||||
foreach($object[$date] as $key => $value) $todayData[$key] = $value;
|
||||
}
|
||||
|
||||
if(dao::isError())
|
||||
{
|
||||
$error = dao::getError();
|
||||
@@ -1667,7 +1660,7 @@ class executionTest
|
||||
}
|
||||
else
|
||||
{
|
||||
return sizeof($todayData);
|
||||
return $object;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user