mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Changing check in AjaxHelper::link() so lazy users don't get type errors. Fixes #902
This commit is contained in:
parent
65efd675c1
commit
6d8724097e
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ class AjaxHelper extends AppHelper {
|
|||
$options['url'] = $url;
|
||||
}
|
||||
|
||||
if (isset($confirm)) {
|
||||
if (!empty($confirm)) {
|
||||
$options['confirm'] = $confirm;
|
||||
unset($confirm);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue