Added ability to allow empty passwords, if the user does so, a random password will...
[mailer.git] / inc / libs / task_functions.php
index f067f2e4ebcaca546ed04590ede935f82e60080d..6894f398ef0e499e328119bc75ab04c6cf5e1148 100644 (file)
@@ -567,7 +567,7 @@ function createExtraTaskRows ($WHATs, $DESCRs, $TITLEs) {
                        // Rewrite CSS class if not last entry is reached
                        if ($key < (count($sqls) - 1)) $content['bottom'] = 'bottom';
 
-                       if ((SQL_NUMROWS($result) > 0) && (!empty($WHATs[$key]))) {
+                       if ((!SQL_HASZERONUMS($result)) && (!empty($WHATs[$key]))) {
                                if (empty($TITLEs[$key])) {
                                        $TITLEs[$key] = '{--ADMIN_TASK_UNKNOWN_LIST_TITLE--}';
                                } // END - if