X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-themes.php;h=1c52abe930cdc2f4ac5c313e7148baaaca7baa35;hp=45194c5b2fae095abc0010cebb8ed172b7983de2;hb=3f51c40f4fede87228216f9285b745a339e3891d;hpb=07612d2debcc78a93678db0deed050d82df432f1 diff --git a/inc/modules/member/what-themes.php b/inc/modules/member/what-themes.php index 45194c5b2f..1c52abe930 100644 --- a/inc/modules/member/what-themes.php +++ b/inc/modules/member/what-themes.php @@ -50,9 +50,9 @@ if (!defined('__SECURITY')) { // Add description as navigation point ADD_DESCR('member', __FILE__); -if (REQUEST_ISSET_POST(('member_theme'))) { +if (REQUEST_ISSET_POST('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", + SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET `curr_theme`='%s' WHERE `userid`=%s LIMIT 1", array(REQUEST_POST('member_theme'), getUserId()), __FILE__, __LINE__); // Set new theme for guests