mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +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 = [];
|
$hostingSubscriptions = [];
|
||||||
$getHostingSubscriptions = \App\Models\HostingSubscription::all();
|
$getHostingSubscriptions = \App\Models\HostingSubscription::all();
|
||||||
if (!$getHostingSubscriptions) {
|
if ($getHostingSubscriptions) {
|
||||||
foreach ($getHostingSubscriptions as $hostingSubscription) {
|
foreach ($getHostingSubscriptions as $hostingSubscription) {
|
||||||
$hostingSubscriptions[$hostingSubscription->id] = $hostingSubscription->domain . ' - ' . $hostingSubscription->customer->name;
|
$hostingSubscriptions[$hostingSubscription->id] = $hostingSubscription->domain . ' - ' . $hostingSubscription->customer->name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue