X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ftemplate-functions.php;h=62fecd0386f86a5c54187892e77648dfd6a00e7a;hp=3025bff9389b17c779dd76468800e65707632eda;hb=c16ab2169b75a7dafb5b0b55523e9fe6f4f5efdb;hpb=7c6a5b9e1e07dd360286130fe7e39000bfc68d4a diff --git a/inc/template-functions.php b/inc/template-functions.php index 3025bff938..62fecd0386 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -547,7 +547,9 @@ function getMenuCssClasses ($data) { $content = explode('|', $data); // Non-existent index 2 will happen in menu blocks - if (!isset($content[2])) $content[2] = ''; + if (!isset($content[2])) { + $content[2] = ''; + } // END - if // Re-construct the array: 0=visible,1=locked,2=prefix $content['visible'] = $content[0];