Fix Folder in Document API End point

This commit is contained in:
johnnyq 2025-11-08 13:10:35 -05:00
parent 61dedb7e7b
commit 9f19fd3c75
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if (isset($_POST['document_content'])) {
}
if (isset($_POST['document_folder_id'])) {
$folder = intval($_POST['document_content']);
$folder = intval($_POST['document_folder_id']);
} elseif (isset($document_row) && isset($document_row['document_folder_id'])) {
$folder = intval($document_row['document_folder_id']);
} else {