$kb_closed])); } $kb_form = kbArticleRow($_GET['id'] ?? 0); if (!$kb_form || $kb_form['kb_article_archived_at']) { exit(json_encode(['error' => $kb_form ? 'Restore the article to change it.' : 'That article no longer exists.'])); } $kb_form_mode = 'edit'; ob_start(); ?>