diff --git a/Model/CronTask.php b/Model/CronTask.php index 5c5b0057..58916505 100644 --- a/Model/CronTask.php +++ b/Model/CronTask.php @@ -21,14 +21,14 @@ class CronTask extends QueueAppModel { public $validate = [ 'jobtype' => [ - 'notempty' => [ - 'rule' => ['notempty'], + 'notEmpty' => [ + 'rule' => ['notEmpty'], 'message' => 'valErrMandatoryField', ], ], 'name' => [ - 'notempty' => [ - 'rule' => ['notempty'], + 'notEmpty' => [ + 'rule' => ['notEmpty'], 'message' => 'valErrMandatoryField', 'last' => true ], @@ -39,8 +39,8 @@ class CronTask extends QueueAppModel { ], ], 'title' => [ - 'notempty' => [ - 'rule' => ['notempty'], + 'notEmpty' => [ + 'rule' => ['notEmpty'], 'message' => 'valErrMandatoryField', 'last' => true ], diff --git a/View/CronTasks/admin_index.ctp b/View/CronTasks/admin_index.ctp index 4acc4eeb..9b9e9aaa 100644 --- a/View/CronTasks/admin_index.ctp +++ b/View/CronTasks/admin_index.ctp @@ -42,7 +42,7 @@ foreach ($cronTasks as $cronTask):
date(FORMAT_DB_DATETIME)) { - echo $this->Format->cIcon(ICON_WARNING, 'Achtung'); + echo $this->Format->cIcon(ICON_WARNING, ['title' => __('Warning')]); } ?> @@ -66,4 +66,4 @@ foreach ($cronTasks as $cronTask): - \ No newline at end of file +