HOR-731
This commit is contained in:
@@ -250,6 +250,9 @@ function executeQuery ($SqlStatement, $DBConnectionUID = 'workflow', $aParameter
|
|||||||
((isset($blackList['tables']))? $blackList['tables'] : '') .
|
((isset($blackList['tables']))? $blackList['tables'] : '') .
|
||||||
((isset($blackList['pmtables']))? $blackList['pmtables'] : '')
|
((isset($blackList['pmtables']))? $blackList['pmtables'] : '')
|
||||||
);
|
);
|
||||||
|
if (!class_exists('PHPSQLParser')) {
|
||||||
|
G::LoadSystem('phpSqlParser');
|
||||||
|
}
|
||||||
$parseSqlStm = new PHPSQLParser($SqlStatement);
|
$parseSqlStm = new PHPSQLParser($SqlStatement);
|
||||||
try {
|
try {
|
||||||
//Parsing queries and check the blacklist
|
//Parsing queries and check the blacklist
|
||||||
|
|||||||
Reference in New Issue
Block a user