if ((SQL_NUMROWS($result_main) > 0) || (REQUEST_ISSET_POST(('lock')))) {
// Count checked checkboxes
$SEL = 0;
- if (REQUEST_ISSET_POST(('sel'))) {
+ if (REQUEST_ISSET_POST('sel')) {
// Are there checked boxes?
if (count(REQUEST_POST('sel')) > 0) {
// Count now... We use an own function for now