Skip to content

Commit

Permalink
Update DomainResource.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Apr 26, 2024
1 parent ac2de6c commit 186b014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/Filament/Resources/DomainResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static function form(Form $form): Form
{
$hostingSubscriptions = [];
$getHostingSubscriptions = \App\Models\HostingSubscription::all();
if (!$getHostingSubscriptions) {
if ($getHostingSubscriptions) {
foreach ($getHostingSubscriptions as $hostingSubscription) {
$hostingSubscriptions[$hostingSubscription->id] = $hostingSubscription->domain . ' - ' . $hostingSubscription->customer->name;
}
Expand Down

0 comments on commit 186b014

Please sign in to comment.