-if ((SQL_NUMROWS($result_main) > 0) || (isPostRequestElementSet('lock'))) {
- // Count checked checkboxes
- $SEL = 0;
- if (isPostRequestElementSet('sel')) {
- // Are there checked boxes?
- if (count(postRequestElement('sel')) > 0) {
- // Count now... We use an own function for now
- $SEL = countPostSelection();
- } // END - if
- } // END - if
-
- if (isPostRequestElementSet('accept')) {
- if ($SEL > 0) {
+if ((SQL_NUMROWS($result_main) > 0) || (isPostRequestParameterSet('lock'))) {
+ if (isPostRequestParameterSet('accept')) {
+ if (countPostSelection() > 0) {