diff --git a/View/Helper/ButtonHelper.php b/View/Helper/ButtonHelper.php index 72d8a04f..b18889d2 100644 --- a/View/Helper/ButtonHelper.php +++ b/View/Helper/ButtonHelper.php @@ -112,6 +112,9 @@ public function button($title, $options = array()) { public function delete($title, $confirm, $options = array()) { $output = ''; + if (! $title) { + $title = __d('net_commons', 'Delete'); + } $title = ' ' . $title; $defaultOptions = array(