1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 09:16:55 +02:00

[feature/avatars] Add more consistency to codebase

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-12-11 21:02:37 +01:00
parent 1aae72961a
commit 2f47c99432
7 changed files with 31 additions and 21 deletions

View File

@@ -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);