mirror of
https://gh.llkk.cc/https://github.com/CaptainCore/captaincore-manager.git
synced 2025-10-03 14:04:44 +08:00
🐛 FIX: Maintenance sites
This commit is contained in:
parent
62efb3e400
commit
dc72125128
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ class Account {
|
|||
$sites = Sites::where( [ "account_id" => $this->account_id, "status" => "active" ] );
|
||||
$maintenance_sites = [];
|
||||
foreach ( $sites as $site ) {
|
||||
if ( ! empty( $site->provider_id ) ) {
|
||||
if ( ! empty( $site->provider_id ) && ( $site->provider_id != "1" ) ) {
|
||||
$maintenance_sites[] = $site;
|
||||
}
|
||||
}
|
||||
|
@ -548,7 +548,7 @@ class Account {
|
|||
$sites = Sites::where( [ "account_id" => $this->account_id, "status" => "active" ] );
|
||||
$maintenance_sites = [];
|
||||
foreach ( $sites as $site ) {
|
||||
if ( ! empty( $site->provider_id ) ) {
|
||||
if ( ! empty( $site->provider_id ) && ( $site->provider_id != "1" ) ) {
|
||||
$maintenance_sites[] = $site;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue