Passed
Pull Request — release-2.1 (#6274)
by Mathias
04:01
created
Sources/Load.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -800,7 +800,7 @@  discard block
 block discarded – undo
800 800
 			'filename' => empty($user_settings['filename']) ? '' : $user_settings['filename'],
801 801
 			'custom_dir' => !empty($user_settings['attachment_type']) && $user_settings['attachment_type'] == 1,
802 802
 			'id_attach' => isset($user_settings['id_attach']) ? $user_settings['id_attach'] : 0,
803
-			'width' => isset($user_settings['attachment_width']) > 0 ? $user_settings['attachment_width']: 0,
803
+			'width' => isset($user_settings['attachment_width']) > 0 ? $user_settings['attachment_width'] : 0,
804 804
 			'height' => isset($user_settings['attachment_height']) > 0 ? $user_settings['attachment_height'] : 0,
805 805
 		),
806 806
 		'smiley_set' => isset($user_settings['smiley_set']) ? $user_settings['smiley_set'] : '',
@@ -1741,7 +1741,7 @@  discard block
 block discarded – undo
1741 1741
 		if (!empty($image))
1742 1742
 			$memberContext[$user]['avatar'] = array(
1743 1743
 				'name' => $profile['avatar'],
1744
-				'image' => '<img class="avatar" src="' . $image . '" alt="" loading="lazy" width="' . $profile['attachment_width'] . 'px" height = "'. $profile['attachment_height'] . 'px">',
1744
+				'image' => '<img class="avatar" src="' . $image . '" alt="" loading="lazy" width="' . $profile['attachment_width'] . 'px" height = "' . $profile['attachment_height'] . 'px">',
1745 1745
 				'href' => $image,
1746 1746
 				'url' => $image,
1747 1747
 			);
Please login to merge, or discard this patch.