| @@ -150,9 +150,9 @@ | ||
| 150 | 150 | { |
| 151 | 151 | $boardData = [ |
| 152 | 152 | 'title' => $boardData['title'], |
| 153 | 153 | 'type' => $boardData['type'] ? $boardData['type'] : 'to-do', |
| 154 | - 'description' => DescriptionMarkdownConverter::normalize($boardData['description']), | |
| 154 | + 'description' => DescriptionMarkdownConverter::normalize($boardData['description'] ?? ''), | |
| 155 | 155 | 'currency' => isset($boardData['currency']) ? $boardData['currency'] : 'USD', |
| 156 | 156 | 'background' => isset($boardData['background']) ? $boardData['background'] : '', |
| 157 | 157 | 'created_by' => isset($boardData['created_by']) ? $boardData['created_by'] : get_current_user_id() |
| 158 | 158 | ]; |