moon rental update for admin

This commit is contained in:
2019-04-29 02:59:03 -05:00
parent da84b4645c
commit 0d217ca5a6

View File

@@ -208,10 +208,10 @@ class MoonsAdminController extends Controller
'RentalEnd' => $moon->RentalEnd, 'RentalEnd' => $moon->RentalEnd,
])->get(['Contact']); ])->get(['Contact']);
if($contact[0] == null) { if(!isset($contact)) {
$contact = 'None'; $contact = 'None';
} else { } else {
$contact = $contact[0]; $contact = $contact->contact;
} }
//Set the color for the table //Set the color for the table