summaryrefslogtreecommitdiff
path: root/html/maintenance.php
diff options
context:
space:
mode:
Diffstat (limited to 'html/maintenance.php')
-rw-r--r--html/maintenance.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/html/maintenance.php b/html/maintenance.php
index b45b731..9982751 100644
--- a/html/maintenance.php
+++ b/html/maintenance.php
@@ -83,8 +83,7 @@ if (array_key_exists('lights_out_machines', $_GET)) {
break;
}
}
- $db -> add_key_for($machine_id, $power_id, 'lights-out');
- $db -> add_key_for($machine_id, $ping_id, 'lights-out');
+ $db -> add_key_for($machine_id, array($power_id, $ping_id), 'lights-out');
}
echo 'done.' . "\n";
die();