setPostRequestParameter('sel', array($adminId => 1));
} // END - if
-if ((isFormSent('edit')) && (countPostSelection() > 0)) {
+if ((isFormSent('edit')) && (ifPostContainsSelections())) {
// Edit account(s)
adminsEditAdminAccount(postRequestArray());
} elseif ((isFormSent('change')) && (count(postRequestParameter('login')) > 0)) {
// Change admin accounts
adminsChangeAdminAccount(postRequestArray());
-} elseif ((isFormSent('del')) && (countPostSelection() > 0)) {
+} elseif ((isFormSent('del')) && (ifPostContainsSelections())) {
// Show admin accounts for deletetion
adminsDeleteAdminAccount(postRequestArray());
} else {
- if ((isFormSent('remove')) && (countPostSelection() > 0)) {
+ if ((isFormSent('remove')) && (ifPostContainsSelections())) {
// Remove accounts now
adminsRemoveAdminAccount(postRequestArray());
} // END - if