Fix images fixed order

This commit is contained in:
Ruben 2016-11-03 01:10:22 +01:00
parent 8d4dc1b414
commit c975392069
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class InterfaceControllerProvider implements ControllerProviderInterface
$img = "data:image/x-icon;base64,".$hit->getFeatureImgAsString($feature);
$score = $hit->getEmotions()->getEmotionScore($emotion);
$percentage = sprintf("%.0f %%",$score);
$blocks[] = [
$blocks[$i] = [
'hit_id' => $hit->getId(),
'img_data' => $img,
'percentage' => $percentage,