Explorar o código

Fix DTS variable

Alan Lam %!s(int64=8) %!d(string=hai) anos
pai
achega
83c082fb68
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/performance.php

+ 1 - 1
controllers/performance.php

@@ -316,7 +316,7 @@ if($submit) {
 
 			$dts = $project->dts_report ?: $test->dts_start;
 
-			$dt = new DateTime($test->dts_start . " UTC");
+			$dt = new DateTime($dts . " UTC");
 			$dt->setTimezone(new DateTimeZone(TIMEZONE));
 
 			$unix = $dt->format("U");