Merged in bugfix/HOR-2067 (pull request #5549)
HOR-2067 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -103,6 +103,11 @@ try {
|
||||
|
||||
$arrayVariableDocumentToDelete = [];
|
||||
|
||||
//If no variables are submitted and the $_POST variable is empty
|
||||
if (!isset($_POST['form'])) {
|
||||
$_POST['form'] = array();
|
||||
}
|
||||
|
||||
if (array_key_exists('__VARIABLE_DOCUMENT_DELETE__', $_POST['form'])) {
|
||||
if (is_array($_POST['form']['__VARIABLE_DOCUMENT_DELETE__']) && !empty($_POST['form']['__VARIABLE_DOCUMENT_DELETE__'])) {
|
||||
$arrayVariableDocumentToDelete = $_POST['form']['__VARIABLE_DOCUMENT_DELETE__'];
|
||||
|
||||
Reference in New Issue
Block a user