Fix issue where users using IE8 and under would get an error due to missing use statement

This commit is contained in:
Dave Earley 2016-07-28 17:44:59 +01:00
parent 5889c9f8de
commit ba08d53956
1 changed files with 1 additions and 1 deletions

View File

@ -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);