Procházet zdrojové kódy

Fix title and chart prefix not taking effect

Alan Lam před 2 roky
rodič
revize
fa549ddae8
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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([
-	"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)) {