I added some validations

This commit is contained in:
Paula V. Quispe
2015-04-13 15:57:04 -04:00
parent af094b28c2
commit d92338eb0e

View File

@@ -640,8 +640,10 @@ class workspaceTools
while ($rs_query->next()) {
$row_query = $rs_query->getRow();
$oStatement_query = $connection->prepareStatement( "kill ". $row_query['ID'] );
$oStatement_query->executeQuery();
if($row_query['TIME']>0){
$oStatement_query = $connection->prepareStatement( "kill ". $row_query['ID'] );
$oStatement_query->executeQuery();
}
}
}
}