Rewritten all THEME_FOO variables to GLOBALS
[mailer.git] / inc / libs / theme_functions.php
index 766ca009a9a5db752191a7208ab8497a56535109..640dd0b1f3be961dbb33a192acc9fce490a73659 100644 (file)
@@ -63,7 +63,7 @@ function THEME_SELECTION_BOX ($mod, $act, $wht, $result) {
                        // And save all data in array
                        LOAD_INC($INC);
                        $themesArray['theme_unix'][] = $content['theme_path'];
-                       $themesArray['theme_name'][] = $THEME_NAME;
+                       $themesArray['theme_name'][] = $GLOBALS['theme_data']['name'];
                } // END - if
        } // END - while