]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-user_contct.php
More SQL rewrites, TODO: Put all table and column names in backticks (`)
[mailer.git] / inc / modules / admin / what-user_contct.php
index 81a5b2e7f25acd43a268ba531f3ecc9c1ff87f36..3949a23ae4d2b944c61e8ffb414bf9b05fca60f2 100644 (file)
@@ -43,7 +43,7 @@ ADD_DESCR("admin", __FILE__);
 // Is a user id given?
 if ((isset($_GET['u_id'])) && (bigintval($_GET['u_id']) > 0)) {
        // Load user data and display it
 // 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=%s 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?
                array(bigintval($_GET['u_id'])), __FILE__, __LINE__);
 
        // Is a user account found?