]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Fixes prefix for member language strings, minor improvements
[mailer.git] / inc / functions.php
index b52d70e7432bdcae51d29511dc4d504a749795ab..0622a21253fab406f6936504702ebf86f0019418 100644 (file)
@@ -456,6 +456,9 @@ function translateUserStatus ($status) {
 
 // "Translates" 'visible' and 'locked' to a CSS class
 function translateMenuVisibleLocked ($content, $prefix = '') {
+       // Default is 'menu_unknown'
+       $content['visible_css'] = $prefix . 'menu_unknown';
+
        // Translate 'visible' and keep an eye on the prefix
        switch ($content['visible']) {
                // Should be visible