This commit is contained in:
Julio Cesar Laura Avendaño
2016-04-08 18:37:28 -04:00
parent 34c46d2e47
commit 32d1494f9c

View File

@@ -250,6 +250,9 @@ function executeQuery ($SqlStatement, $DBConnectionUID = 'workflow', $aParameter
((isset($blackList['tables']))? $blackList['tables'] : '') .
((isset($blackList['pmtables']))? $blackList['pmtables'] : '')
);
if (!class_exists('PHPSQLParser')) {
G::LoadSystem('phpSqlParser');
}
$parseSqlStm = new PHPSQLParser($SqlStatement);
try {
//Parsing queries and check the blacklist