@@ -15,6 +15,7 @@ if (core::ifPost("from") AND core::getPost("from") == "document") {
$location = "/document-". core::getPost("id") .".html";
}
+ json::create("documents");
document::cleanOrphanTags();
header("Location: " . $location);