mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
@@ -99,9 +99,9 @@ class BulkPowerActionCommand extends Command
|
||||
|
||||
if (! empty($nodes) && ! empty($servers)) {
|
||||
$instance->whereIn('id', $servers)->orWhereIn('node_id', $nodes);
|
||||
} else if (empty($nodes) && ! empty($servers)) {
|
||||
} elseif (empty($nodes) && ! empty($servers)) {
|
||||
$instance->whereIn('id', $servers);
|
||||
} else if (! empty($nodes) && empty($servers)) {
|
||||
} elseif (! empty($nodes) && empty($servers)) {
|
||||
$instance->whereIn('node_id', $nodes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user