Skip to content

Commit c7b9ce4

Browse files
committed
! misc
1 parent 0a07891 commit c7b9ce4

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

sources/subs/Members.subs.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -2680,7 +2680,7 @@ function memberQuerySeeBoard($id_member)
26802680
* - If the member's post number is updated, updates their post groups.
26812681
*
26822682
* @param int[]|int $members An array of member ids
2683-
* @param mixed[] $data An associative array of the columns to be updated and their respective values.
2683+
* @param array $data An associative array of the columns to be updated and their respective values.
26842684
*/
26852685
function updateMemberData($members, $data)
26862686
{
@@ -2719,7 +2719,7 @@ function updateMemberData($members, $data)
27192719
if (!empty($modSettings['integrate_change_member_data']))
27202720
{
27212721
// Only a few member variables are really interesting for integration.
2722-
$integration_vars = array(
2722+
$integration_vars = [
27232723
'member_name',
27242724
'real_name',
27252725
'email_address',
@@ -2731,7 +2731,7 @@ function updateMemberData($members, $data)
27312731
'time_offset',
27322732
'avatar',
27332733
'lngfile',
2734-
);
2734+
];
27352735
$vars_to_integrate = array_intersect($integration_vars, array_keys($data));
27362736

27372737
// Only proceed if there are any variables left to call the integration function.
@@ -2740,7 +2740,7 @@ function updateMemberData($members, $data)
27402740
// Fetch a list of member_names if necessary
27412741
if ((!is_array($members) && $members === User::$info->id) || (is_array($members) && count($members) == 1 && in_array(User::$info->id, $members)))
27422742
{
2743-
$member_names = array(User::$info->username);
2743+
$member_names = [User::$info->username];
27442744
}
27452745
else
27462746
{
@@ -2797,7 +2797,7 @@ function ($row) {
27972797
{
27982798
if (preg_match('~^' . $var . ' (\+ |- |\+ -)([\d]+)~', $val, $match))
27992799
{
2800-
if ($match[1] != '+ ')
2800+
if ($match[1] !== '+ ')
28012801
{
28022802
$val = 'CASE WHEN ' . $var . ' <= ' . abs($match[2]) . ' THEN 0 ELSE ' . $val . ' END';
28032803
}

themes/default/css/admin.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ h3.category_header form {
150150

151151
/* Styles for the admin home screen. */
152152
#quick_search {
153+
order: 2;
153154
margin-top: -.2rem;
155+
margin-left: auto;
154156
}
155157

156158
.admincenter .well, #modcenter .well {
@@ -1229,8 +1231,8 @@ dl.themes_list dd {
12291231
}
12301232

12311233
#core_features .features {
1232-
width: 100%;
12331234
float: none;
1235+
width: 100%;
12341236
}
12351237

12361238
#core_features .features_switch {

0 commit comments

Comments
 (0)