mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update DomainResource.php
This commit is contained in:
parent
ac2de6c2f3
commit
186b014134
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class DomainResource extends Resource
|
|||
{
|
||||
$hostingSubscriptions = [];
|
||||
$getHostingSubscriptions = \App\Models\HostingSubscription::all();
|
||||
if (!$getHostingSubscriptions) {
|
||||
if ($getHostingSubscriptions) {
|
||||
foreach ($getHostingSubscriptions as $hostingSubscription) {
|
||||
$hostingSubscriptions[$hostingSubscription->id] = $hostingSubscription->domain . ' - ' . $hostingSubscription->customer->name;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue