X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-mydata.php;h=646a0a8b1c019d0cd2d3c70b2a8724e1f8ba8ec5;hp=97554795d5aff43bbd8a228289c1a93cbd5ac813;hb=c45b1827a16928c65ecc1aea6a9d7a504c4874d4;hpb=6445dffaac3477625d6632ec764624039bd25da6 diff --git a/inc/modules/member/what-mydata.php b/inc/modules/member/what-mydata.php index 97554795d5..646a0a8b1c 100644 --- a/inc/modules/member/what-mydata.php +++ b/inc/modules/member/what-mydata.php @@ -111,15 +111,12 @@ case "show": // Show his data break; case "edit": // Edit data - if (EXT_IS_ACTIVE("country", true)) - { + if (EXT_IS_ACTIVE("country", true)) { // New way 0 1 2 3 4 5 6 7 8 9 10 11 12 13 $result = SQL_QUERY_ESC("SELECT surname, family, street_nr, country_code, zip, city, email, birth_day, birth_month, birth_year, sex, max_mails, receive_mails, last_update FROM "._MYSQL_PREFIX."_user_data WHERE userid=%s LIMIT 1", array(UID_VALUE), __FILE__, __LINE__); - } - else - { + } else { // Old way 0 1 2 3 4 5 6 7 8 9 10 11 12 13 $result = SQL_QUERY_ESC("SELECT surname, family, street_nr, country, zip, city, email, birth_day, birth_month, birth_year, sex, max_mails, receive_mails, last_update FROM "._MYSQL_PREFIX."_user_data WHERE userid=%s LIMIT 1",