moon rental form
This commit is contained in:
@@ -84,11 +84,11 @@ class MiningTaxesController extends Controller
|
|||||||
|
|
||||||
//From the name and type of the entity get the entity id.
|
//From the name and type of the entity get the entity id.
|
||||||
if($request->entity_type == 'Character') {
|
if($request->entity_type == 'Character') {
|
||||||
$entityId = $lookup->CharacterNameToId();
|
$entityId = $lookup->CharacterNameToId($request->entity_name);
|
||||||
} else if($request->entity_type == 'Corporation') {
|
} else if($request->entity_type == 'Corporation') {
|
||||||
$entityId = $lookup->CorporationNameToId();
|
$entityId = $lookup->CorporationNameToId($request->entity_name);
|
||||||
} else if($request->entity_type == 'Alliance') {
|
} else if($request->entity_type == 'Alliance') {
|
||||||
$entityId = $lookup->AllianceNameToId();
|
$entityId = $lookup->AllianceNameToId($request->entity_name);
|
||||||
} else {
|
} else {
|
||||||
return redirect('/dashboard')->with('error', 'Moon Rental error. Please contact the site admin.');
|
return redirect('/dashboard')->with('error', 'Moon Rental error. Please contact the site admin.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user