mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #8994 from chinpei215/2.8-home-errormsg
Fix misnamed variable in default home.ctp
This commit is contained in:
commit
7735a6182f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue