mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Fix Folder in Document API End point
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user