Update 'app/Http/Controllers/LocationController.php'
This commit is contained in:
parent
faef26e528
commit
971e744057
1 changed files with 4 additions and 4 deletions
|
@ -45,12 +45,12 @@ class LocationController extends Controller
|
|||
return back()->with('message', 'New Location Added. Take a break!');
|
||||
} else {
|
||||
return back()->withErrors([
|
||||
'error' => 'Uh oh. There was an inssue',
|
||||
'error' => 'Uh oh. There was an issue.',
|
||||
]);
|
||||
}
|
||||
} else {
|
||||
return back()->withErrors([
|
||||
'error' => 'All fields are required',
|
||||
'error' => 'All fields are required.',
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ class LocationController extends Controller
|
|||
$duplicates = 0;
|
||||
$fresh = 0;
|
||||
// ['url' => "rage.love"],
|
||||
//['url' => "indyapocalypse.social"],
|
||||
//['url' => "indiepocalypse.social"],
|
||||
|
||||
$unified = [];
|
||||
//$denycount = array_map('str_getcsv', file($this->defed));
|
||||
|
@ -145,7 +145,7 @@ class LocationController extends Controller
|
|||
'uuid' => Uuid::uuid4(),
|
||||
'name' => $item['url'],
|
||||
'url' => $item['url'],
|
||||
'description' => ($item['comment'] != null) ? $item['comment'] : "no description",
|
||||
'description' => ($item['comment'] != null) ? $item['comment'] : "No description provided.",
|
||||
'active' => true,
|
||||
'rating' => $item['rating'],
|
||||
'added_by' => 1,
|
||||
|
|
Loading…
Reference in a new issue