Replace ! $request->has with new $request->missing

This commit is contained in:
DariusIII
2019-10-24 11:19:10 +02:00
parent 03b4c9dd84
commit 0fe0555bcd
13 changed files with 17 additions and 16 deletions
@@ -30,7 +30,7 @@ class SiteController extends BasePageController
switch ($action) {
case 'submit':
if (! $request->has('book_reqids')) {
if ($request->missing('book_reqids')) {
$request->merge(['book_reqids' => []]);
}
$error = '';