@@ -54,7 +54,7 @@ public function fetchAll($format = 'json') {
54
54
'author ' => array ('id ' => $ opened_user ->id , 'name ' => $ issue ->openedBy ), //TODO
55
55
'category ' => array ('id ' => $ type_id , 'name ' => BugType::findLabelById ($ type_id )), //TODO
56
56
'assigned_to ' => array ('id ' => $ assgined_user ->id , 'name ' => $ issue ->assignedTo ), //TODO
57
- 'description ' => $ issue ->steps , //
57
+ 'description ' => '' , // $issue->steps //有特殊符号会挂掉
58
58
'start_date ' => date ('Y-m-d ' , strtotime ($ issue ->assignedDate )),
59
59
'due_date ' => date ('Y-m-d ' , strtotime ($ issue ->assignedDate ) + 1000000 ),
60
60
'done_ratio ' => 0 ,
@@ -96,7 +96,7 @@ public function fetch($id, $format = 'json') {
96
96
'priority ' => array ('id ' => (int )$ issue ->pri , 'name ' => $ issue ->pri ),
97
97
'author ' => array ('id ' => $ opened_user ->id , 'name ' => $ issue ->openedBy ),
98
98
'assigned_to ' => array ('id ' => $ assgined_user ->id , 'name ' => $ issue ->assignedTo ),
99
- 'description ' => '' , //$issue->steps
99
+ 'description ' => '' ,//$issue->steps //有特殊符号会挂掉
100
100
'start_date ' => date ('Y-m-d ' , strtotime ($ issue ->assignedDate )),
101
101
'due_date ' => date ('Y-m-d ' , strtotime ($ issue ->assignedDate ) + 1000000 ),
102
102
'done_ratio ' => 0 ,
0 commit comments