Merge pull request #8994 from chinpei215/2.8-home-errormsg

Fix misnamed variable in default home.ctp
This commit is contained in:
Mark Story 2016-06-16 00:11:45 -04:00 committed by GitHub
commit 7735a6182f

View file

@ -94,7 +94,7 @@ if (isset($filePresent)):
$errorMsg = $connectionError->getMessage();
if (method_exists($connectionError, 'getAttributes')):
$attributes = $connectionError->getAttributes();
if (isset($errorMsg['message'])):
if (isset($attributes['message'])):
$errorMsg .= '<br />' . $attributes['message'];
endif;
endif;