From a092ae2463c837551d5cb45b414bfa8e68c9d859 Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Mon, 8 Aug 2016 09:33:16 +0900 Subject: [PATCH] =?UTF-8?q?=E5=89=8A=E9=99=A4=E3=83=9C=E3=82=BF=E3=83=B3?= =?UTF-8?q?=E3=81=AE=E6=96=87=E8=A8=80=E3=82=92=E8=A1=A8=E7=A4=BA=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- View/Helper/ButtonHelper.php | 3 +++ 1 file changed, 3 insertions(+) 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(