]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-themes.php
Naming inconsistencies for userid fixed
[mailer.git] / inc / modules / member / what-themes.php
index bc4276c120d13fbdf3e417a72dd40b62d60bf884..1edafa3648f26c9b50d9e8d50905c5af6479bbbf 100644 (file)
@@ -54,7 +54,7 @@ if ((!isExtensionActive('theme')) && (!isAdmin())) {
 if (isPostRequestElementSet('member_theme')) {
        // Save theme to member's profile
        SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `curr_theme`='%s' WHERE `userid`=%s LIMIT 1",
-               array(postRequestElement('member_theme'), getUserId()), __FILE__, __LINE__);
+               array(postRequestElement('member_theme'), getMemberId()), __FILE__, __LINE__);
 
        // Set new theme for guests
        $newTheme = SQL_ESCAPE(postRequestElement('member_theme'));