More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / modules / admin / what-del_transfer.php
index 0681df69ac15efbda2f6902a9ba601f456d9ec56..3b578c409cbc7446a8d2548c34a47cbbcf37060e 100644 (file)
@@ -47,7 +47,7 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent('del')) {
        // Delete entries from tables
-       if (countPostSelection() > 0) {
+       if (ifPostContainsSelections()) {
                // Init SQLs
                initSqls();
 
@@ -73,7 +73,7 @@ ORDER BY
        `trans_id` ASC', __FILE__, __LINE__);
 
 $total = '0';
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // Output rows
        $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {