diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2012-12-11 21:02:37 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2012-12-11 21:02:37 +0100 |
| commit | 2f47c99432c604a2adaad73821602a4b1763caa8 (patch) | |
| tree | 3fc6247d2203b73861511ef1690346cf467a80be /phpBB/includes/ucp | |
| parent | 1aae72961a3205a8487218b6d69361c43a1297d6 (diff) | |
| download | forums-2f47c99432c604a2adaad73821602a4b1763caa8.tar forums-2f47c99432c604a2adaad73821602a4b1763caa8.tar.gz forums-2f47c99432c604a2adaad73821602a4b1763caa8.tar.bz2 forums-2f47c99432c604a2adaad73821602a4b1763caa8.tar.xz forums-2f47c99432c604a2adaad73821602a4b1763caa8.zip | |
[feature/avatars] Add more consistency to codebase
PHPBB3-10018
Diffstat (limited to 'phpBB/includes/ucp')
| -rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index 14639b00ff..8ed5aff3e3 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -590,7 +590,7 @@ class ucp_profile $sql = 'UPDATE ' . USERS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $result) . ' - WHERE user_id = ' . $user->data['user_id']; + WHERE user_id = ' . (int) $user->data['user_id']; $db->sql_query($sql); @@ -615,7 +615,7 @@ class ucp_profile $sql = 'UPDATE ' . USERS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $result) . ' - WHERE user_id = ' . $user->data['user_id']; + WHERE user_id = ' . (int) $user->data['user_id']; $db->sql_query($sql); |
