New (template) wrapper function fixEmptyContentToDashes() introduced, EL rewrites:
[mailer.git] / inc / modules / admin / what-usr_online.php
index a19cb85f150682a19a9c490b56b40eebd2464f46..cda7d8e4d75348899aec87ca08786f3660e34f39 100644 (file)
@@ -63,10 +63,6 @@ if (isExtensionActive('online')) {
                // List all online users
                $OUT = ''; $SW = 2;
                while ($row = SQL_FETCHARRAY($result)) {
-                       // Fix empty action/what
-                       if (empty($row['action'])) $row['action'] = '---';
-                       if (empty($row['what']))   $row['what']   = '---';
-
                        if ($row['is_admin'] == 'Y') {
                                // Is an administrator
                                $row['userid'] = '{--_IS_ADMIN--}';