]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_surfbar_actions.php
Total eval() commands slightly reduced, still there are some left
[mailer.git] / inc / modules / admin / what-list_surfbar_actions.php
index 3c9061ad4000ab2f7ebdf60321ed3d3ff859bcff..29dcdb6519d546700a73eee01bca75b953b183e3 100644 (file)
@@ -58,12 +58,12 @@ ORDER BY
        `actions_action` ASC", __FILE__, __LINE__);
 
 // Entries found?
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // List all entries
        $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
                // "Translate" some data
-               $content['actions_action'] = getMessage(sprintf("MEMBER_SURFBAR_ACTION_%s_SUBMIT", $content['actions_action']));
+               $content['actions_action'] = sprintf("{--MEMBER_SURFBAR_ACTION_%s_SUBMIT--}", strtoupper($content['actions_action']));
 
                // New status set?
                if (!is_null($content['actions_new_status'])) {