diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-05 10:41:08 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-05 10:41:08 -0500 |
commit | 16966f52d37e4ebdca4f3846c81dfa85b193501e (patch) | |
tree | 37901b9d616ad4562f84a2d9520c4639296487dd /phpBB | |
parent | 94ebc5707836d931e24e77f5ce1b3a16d0410fb8 (diff) | |
download | forums-16966f52d37e4ebdca4f3846c81dfa85b193501e.tar forums-16966f52d37e4ebdca4f3846c81dfa85b193501e.tar.gz forums-16966f52d37e4ebdca4f3846c81dfa85b193501e.tar.bz2 forums-16966f52d37e4ebdca4f3846c81dfa85b193501e.tar.xz forums-16966f52d37e4ebdca4f3846c81dfa85b193501e.zip |
[ticket/11162] Reformat.
PHPBB3-11162
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions_tricky_update.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/includes/functions_tricky_update.php b/phpBB/includes/functions_tricky_update.php index c8fcb9b6f0..10321618b2 100644 --- a/phpBB/includes/functions_tricky_update.php +++ b/phpBB/includes/functions_tricky_update.php @@ -150,7 +150,8 @@ function phpbb_update_rows_avoiding_duplicates_notify_status($db, $table, $colum ); foreach ($from_values as $from_value) { - foreach ($extra_updates as $notify_status => $extra_update) { + foreach ($extra_updates as $notify_status => $extra_update) + { if (!isset($old_user_ids[$notify_status][$from_value])) { continue; @@ -174,8 +175,9 @@ function phpbb_update_rows_avoiding_duplicates_notify_status($db, $table, $colum AND " . $db->sql_in_set('user_id', $different_user_ids); $queries[] = $sql; } - - if ($extra_update) { + + if ($extra_update) + { $same_user_ids = array_diff($old_user_ids[$notify_status][$from_value], $different_user_ids); if (!empty($same_user_ids)) { |