Renamed templates + added some filters for mail order
[mailer.git] / inc / filter / theme_filter.php
index dc662d26fb6f5003befbcf9557441f9496ff88d9..3227a34291231777da572d04bc087af39b3e0dbd 100644 (file)
@@ -53,10 +53,10 @@ function FILTER_HANDLE_THEME_CHANGE ($filterData) {
                setMailerTheme($newTheme);
 
                // Remove current from array
-               removeIncludeFromPool('theme', sprintf("theme/%s/theme.php", getCurrentTheme()));
+               removeIncludeFromPool('theme', sprintf('theme/%s/theme.php', getCurrentTheme()));
 
                // Add new theme
-               addIncludeToPool('theme', sprintf("theme/%s/theme.php", $newTheme));
+               addIncludeToPool('theme', sprintf('theme/%s/theme.php', $newTheme));
 
                // Redirect to same URL
                redirectToRequestUri();