Fix issue where users using IE8 and under would get an error due to missing use statement
This commit is contained in:
parent
5889c9f8de
commit
ba08d53956
|
|
@ -19,7 +19,7 @@ class GeneralChecks
|
|||
|
||||
// Show message to IE 8 and before users
|
||||
if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/(?i)msie [2-8]/', $_SERVER['HTTP_USER_AGENT'])) {
|
||||
Session::flash('message', 'Please update your browser. This application requires a modern browser.');
|
||||
session()->flash('message', 'Please update your browser. This application requires a modern browser.');
|
||||
}
|
||||
|
||||
$response = $next($request);
|
||||
|
|
|
|||
Loading…
Reference in New Issue