X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Flibs%2Ftheme_functions.php;h=01339ea1d06165f5cd149570d664086bdc6f0d05;hb=62d8f6d89c35bebe15b8f716a5629f14d95f3078;hp=2a342d0146c93d50facd59eff070e69630fc0b97;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index 2a342d0146..01339ea1d0 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -264,9 +264,12 @@ function getActualTheme () { return $ret; } -// Setter for theme in session +/** + * Setter for theme in session (This setter does return the success of + * setSession() which is required e.g. for destroySponsorSession(). + */ function setTheme ($newTheme) { - setSession('mxchange_theme', $newTheme); + return setSession('mxchange_theme', $newTheme); } // Get id from theme