PM-2061
Resolver las incidencias Very High y High del third Party Se validaron las incidencias
This commit is contained in:
@@ -443,8 +443,16 @@ class DataBaseMaintenance
|
||||
if (empty( $aTables ))
|
||||
return false;
|
||||
printf( "%-70s", "LOCK TABLES" );
|
||||
|
||||
if(is_array($aTables)) {
|
||||
foreach($aTables as $k => $v) {
|
||||
$aTables[$k] = mysql_real_escape_string($v);
|
||||
}
|
||||
}
|
||||
|
||||
$sQuery = "LOCK TABLES " . implode( " READ, ", $aTables ) . " READ; ";
|
||||
$sQuery = $filter->preventSqlInjection($sQuery);
|
||||
|
||||
if (@mysql_query( $sQuery )) {
|
||||
echo " [OK]\n";
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user