Преглед изворни кода

Fix title and chart prefix not taking effect

Alan Lam пре 2 година
родитељ
комит
fa549ddae8
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      controllers/reports_presentation.php

+ 2 - 2
controllers/reports_presentation.php

@@ -157,8 +157,8 @@ $create_summary_slide = static function(array $options) use ($presentation, $cha
 };
 };
 
 
 $create_summary_slide([
 $create_summary_slide([
-	"title" => $template->reports->gamingStatsPage->title ?? null,
-	"chart_prefix" => $template->reports->gamingStatsPage->chartPrefix ?? null
+	"title" => $template_config->reports->gamingStatsPage->title ?? null,
+	"chart_prefix" => $template_config->reports->gamingStatsPage->chartPrefix ?? null
 ]);
 ]);
 
 
 if(isset($template_config->reports->barStatsPage)) {
 if(isset($template_config->reports->barStatsPage)) {