moon rental update for admin

This commit is contained in:
2019-04-29 03:14:01 -05:00
parent fe32038754
commit ae196f1bca

View File

@@ -209,11 +209,11 @@ class MoonsAdminController extends Controller
'Planet' => $moon->Planet,
'Moon' => $moon->Moon,
'RentalEnd' => $moon->RentalEnd,
])->first();
])->first()->toArray();
dd($contact);
if(!isset($contact->Contact)) {
if(!isset($contact['Contact'])) {
$contact = 'None';
} else {
//Get the name of the character