Perf dashboard should be able to trigger A/B testing jobs for iOS
[WebKit-https.git] / Websites / perf.webkit.org / public / api / triggerables.php
index 3183910..44f4c97 100644 (file)
@@ -27,7 +27,7 @@ function main($path) {
     }
 
     foreach ($db->select_rows('triggerable_repositories', 'trigrepo', array()) as $row) {
-        $triggerable = $id_to_triggerable[$row['trigrepo_triggerable']];
+        $triggerable = array_get($id_to_triggerable, $row['trigrepo_triggerable']);
         if ($triggerable)
             array_push($triggerable['acceptedRepositories'], $row['trigrepo_repository']);
     }