]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-user_contct.php
Tons of rewrites (SQL queries), surfbar nearly finished (working: surfing with static...
[mailer.git] / inc / modules / admin / what-user_contct.php
index be76d576ed91f4716981b40ceb2aa26ef0cf8d4f..4475fed1d567c8ef5d398b2e3ea6d4097a3588a5 100644 (file)
@@ -43,7 +43,7 @@ ADD_DESCR("admin", basename(__FILE__));
 // Is a user id given?
 if ((isset($_GET['u_id'])) && (bigintval($_GET['u_id']) > 0)) {
        // Load user data and display it
-       $result = SQL_QUERY_ESC("SELECT surname, family, email FROM "._MYSQL_PREFIX."_user_data WHERE userid=%d LIMIT 1",
+       $result = SQL_QUERY_ESC("SELECT surname, family, email FROM "._MYSQL_PREFIX."_user_data WHERE userid=%s LIMIT 1",
                array(bigintval($_GET['u_id'])), __FILE__, __LINE__);
 
        // Is a user account found?