From f68f9ed78f8ab08049e93f1d90c5e5fa82016cb5 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 18 May 2018 14:04:50 +0800 Subject: [PATCH] * adjust for batch edit cycle. --- module/todo/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/todo/model.php b/module/todo/model.php index a039e49f16..081eabbea2 100644 --- a/module/todo/model.php +++ b/module/todo/model.php @@ -219,7 +219,7 @@ class todoModel extends model $todo->type = $data->types[$todoID]; $todo->pri = $data->pris[$todoID]; $todo->status = $data->status[$todoID]; - $todo->name = $todo->type == 'custom' ? $data->names[$todoID] : ''; + $todo->name = ($todo->type == 'custom' or $todo->type == 'cycle') ? $data->names[$todoID] : ''; $todo->begin = $data->begins[$todoID]; $todo->end = $data->ends[$todoID]; if($todo->type == 'task') $todo->idvalue = isset($data->tasks[$todoID]) ? $data->tasks[$todoID] : 0;