X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-edit_user.php;h=32d8a67535651c7c919b32f6ae42fa0e6f1e777d;hp=18bc6f76d944dbbdf5d300ea9a58bce708a2d1cc;hb=cca98f57dff720b174d21d071cee8303462485d7;hpb=56156f6c4392510cdbe0eb4f2ccefc23b43e2672 diff --git a/inc/modules/admin/what-edit_user.php b/inc/modules/admin/what-edit_user.php index 18bc6f76d9..32d8a67535 100644 --- a/inc/modules/admin/what-edit_user.php +++ b/inc/modules/admin/what-edit_user.php @@ -45,7 +45,7 @@ $result_main = false; if (isset($_GET['u_id'])) { // 0 1 2 3 4 5 6 7 8 9 10 11 $result_main = SQL_QUERY_ESC("SELECT gender, surname, family, street_nr, zip, city, country, email, birth_day, birth_month, birth_year, max_mails -FROM `"._MYSQL_PREFIX."_user_data` +FROM `{!MYSQL_PREFIX!}_user_data` WHERE userid=%s LIMIT 1", array(bigintval($_GET['u_id'])), __FILE__, __LINE__); @@ -77,7 +77,7 @@ if ((SQL_NUMROWS($result_main) == 1) || (empty($_GET['u_id']))) if ($PASS) { // We have to add the following things: birthday and max receive mails - SQL_QUERY_ESC("UPDATE `"._MYSQL_PREFIX."_user_data` SET + SQL_QUERY_ESC("UPDATE `{!MYSQL_PREFIX!}_user_data` SET gender='%s', surname='%s', family='%s',