Skip to content

Commit ef50df4

Browse files
committed
Fix 3.6.0 depreciation in FlashHelper.
1 parent 5517b40 commit ef50df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/View/Helper/FlashHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class FlashHelper extends \Cake\View\Helper\FlashHelper {
3333
* {@inheritDoc}
3434
*/
3535
public function render($key = 'flash', array $options = []) {
36-
if (!$this->request->session()->check("Flash.$key")) {
36+
if (!$this->request->getSession()->check("Flash.$key")) {
3737
return;
3838
}
3939

0 commit comments

Comments
 (0)