diff --git a/cake/libs/view/helpers/ajax.php b/cake/libs/view/helpers/ajax.php index e2cba1277..9c153c3a2 100644 --- a/cake/libs/view/helpers/ajax.php +++ b/cake/libs/view/helpers/ajax.php @@ -218,7 +218,7 @@ class AjaxHelper extends AppHelper { $options['url'] = $url; } - if (isset($confirm)) { + if (!empty($confirm)) { $options['confirm'] = $confirm; unset($confirm); }