Large refactor

This commit is contained in:
2026-09-11 21:43:36 +02:00
parent 7fe7c0f51a
commit deba8463b8
11 changed files with 871 additions and 113 deletions
+2 -1
View File
@@ -98,7 +98,8 @@ try {
exit;
}
$title = "[{$key}] {$summary}";
$customTitle = trim($input['title'] ?? '');
$title = !empty($customTitle) ? $customTitle : "[{$key}] {$summary}";
// Zoek of maak daily plan aan voor deze datum
$stmtPlan = $db->prepare("SELECT id FROM daily_plans WHERE user_id = ? AND plan_date = ?");