mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 06:20:46 +02:00
[task/code-sniffer] Replace spaces with tabs.
PHPBB3-11980
This commit is contained in:
@@ -381,7 +381,7 @@ if ($mode == 'delete' || $mode == 'soft_delete')
|
||||
if ($mode == 'bump')
|
||||
{
|
||||
if ($bump_time = bump_topic_allowed($forum_id, $post_data['topic_bumped'], $post_data['topic_last_post_time'], $post_data['topic_poster'], $post_data['topic_last_poster_id'])
|
||||
&& check_link_hash(request_var('hash', ''), "topic_{$post_data['topic_id']}"))
|
||||
&& check_link_hash(request_var('hash', ''), "topic_{$post_data['topic_id']}"))
|
||||
{
|
||||
$meta_url = phpbb_bump_topic($forum_id, $topic_id, $post_data, $current_time);
|
||||
meta_refresh(3, $meta_url);
|
||||
@@ -817,8 +817,13 @@ if ($submit || $preview || $refresh)
|
||||
|
||||
// We make sure nobody else made exactly the same change
|
||||
// we're about to submit by also checking $message_md5 != $post_data['post_checksum']
|
||||
if (($edit_post_message_checksum !== '' && $edit_post_message_checksum != $post_data['post_checksum'] && $message_md5 != $post_data['post_checksum'])
|
||||
|| ($edit_post_subject_checksum !== '' && $edit_post_subject_checksum != $post_data['post_subject_md5'] && md5($post_data['post_subject']) != $post_data['post_subject_md5']))
|
||||
if ($edit_post_message_checksum !== '' &&
|
||||
$edit_post_message_checksum != $post_data['post_checksum'] &&
|
||||
$message_md5 != $post_data['post_checksum']
|
||||
||
|
||||
$edit_post_subject_checksum !== '' &&
|
||||
$edit_post_subject_checksum != $post_data['post_subject_md5'] &&
|
||||
md5($post_data['post_subject']) != $post_data['post_subject_md5'])
|
||||
{
|
||||
if (topic_review($topic_id, $forum_id, 'post_review_edit', $post_id))
|
||||
{
|
||||
|
Reference in New Issue
Block a user