HOR-497-A-3018 "Notice: Undefined index..." SOLVED
This commit is contained in:
@@ -245,7 +245,11 @@ function executeQuery ($SqlStatement, $DBConnectionUID = 'workflow', $aParameter
|
|||||||
G::loadClass('system');
|
G::loadClass('system');
|
||||||
$blackList = System::getQueryBlackList();
|
$blackList = System::getQueryBlackList();
|
||||||
$aListQueries = explode('|', $blackList['queries']);
|
$aListQueries = explode('|', $blackList['queries']);
|
||||||
$aListAllTables = explode('|', $blackList['tables'].$blackList['pmtables']);
|
$aListAllTables = explode(
|
||||||
|
'|',
|
||||||
|
((isset($blackList['tables']))? $blackList['tables'] : '') .
|
||||||
|
((isset($blackList['pmtables']))? $blackList['pmtables'] : '')
|
||||||
|
);
|
||||||
$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