Complete fix of MAIN_DISALLOW_UNSECURED_SELECT_INTO_EXTRAFIELDS_FILTER
This commit is contained in:
parent
7c2e2f4c82
commit
29aceee503
1 changed files with 3 additions and 0 deletions
|
|
@ -114,6 +114,9 @@ if (!defined('USE_CUSTOM_REPORT_AS_INCLUDE')) {
|
|||
}
|
||||
}
|
||||
|
||||
// In customreport context, we force the protection to avoid forging of criteria including bind SQL injection
|
||||
$conf->global->MAIN_DISALLOW_UNSECURED_SELECT_INTO_EXTRAFIELDS_FILTER = 1;
|
||||
|
||||
if (empty($mode)) {
|
||||
$mode = 'graph';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue