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, 'Planet' => $moon->Planet,
'Moon' => $moon->Moon, 'Moon' => $moon->Moon,
'RentalEnd' => $moon->RentalEnd, 'RentalEnd' => $moon->RentalEnd,
])->first(); ])->first()->toArray();
dd($contact); dd($contact);
if(!isset($contact->Contact)) { if(!isset($contact['Contact'])) {
$contact = 'None'; $contact = 'None';
} else { } else {
//Get the name of the character //Get the name of the character