Title: [237065] trunk/Websites/perf.webkit.org
- Revision
- 237065
- Author
- [email protected]
- Date
- 2018-10-11 23:33:57 -0700 (Thu, 11 Oct 2018)
Log Message
Build fix after r236956. Use array_get to avoid warnings.
* public/include/report-processor.php:
Modified Paths
Diff
Modified: trunk/Websites/perf.webkit.org/ChangeLog (237064 => 237065)
--- trunk/Websites/perf.webkit.org/ChangeLog 2018-10-12 06:13:46 UTC (rev 237064)
+++ trunk/Websites/perf.webkit.org/ChangeLog 2018-10-12 06:33:57 UTC (rev 237065)
@@ -1,3 +1,9 @@
+2018-10-11 Ryosuke Niwa <[email protected]>
+
+ Build fix after r236956. Use array_get to avoid warnings.
+
+ * public/include/report-processor.php:
+
2018-10-09 Dewei Zhu <[email protected]>
Performance dashboard should show added iterations due failed build requests.
Modified: trunk/Websites/perf.webkit.org/public/include/report-processor.php (237064 => 237065)
--- trunk/Websites/perf.webkit.org/public/include/report-processor.php 2018-10-12 06:13:46 UTC (rev 237064)
+++ trunk/Websites/perf.webkit.org/public/include/report-processor.php 2018-10-12 06:33:57 UTC (rev 237065)
@@ -246,7 +246,7 @@
}
} else {
$metrics = $test_row ? array_get($test_row['metrics'], $metric_name) : NULL;
- $metric_id = $metrics ? $metrics[''] : NULL;
+ $metric_id = $metrics ? array_get($metrics, '') : NULL;
if (!$metric_id)
$metric_id = $this->db->select_or_insert_row('test_metrics', 'metric', array('name' => $metric_name, 'test' => $test_id));
if (!$metric_id)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes