Skip to content

Commit be5861a

Browse files
authored
Merge pull request SimpleMachines#9078 from jdarwood007/3.0/housekeeping
[3.0] Housekeeping
2 parents ba5549a + 304f046 commit be5861a

File tree

7 files changed

+54
-8894
lines changed

7 files changed

+54
-8894
lines changed

Sources/Tasks/CreatePost_Notify.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,9 @@ protected function handleWatchedNotifications(): void
568568
}
569569
}
570570
// No notification request for this user for this board/topic.
571-
else
571+
else {
572572
continue;
573+
}
573574

574575
// Censor and parse BBC in the receiver's localization. Don't repeat unnecessarily.
575576
$localization = implode('|', [$member_data['lngfile'], $member_data['time_offset'], $member_data['time_format']]);

Sources/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ public static function buildRegex(array $strings, ?string $delim = null, bool $r
10531053
$trailing = '';
10541054
$i = -1;
10551055

1056-
while ($strings[0] !== '' && strlen($strings[0]) < $i * -1) {
1056+
while ($strings[0] !== '' && \strlen($strings[0]) < $i * -1) {
10571057
$last_char = mb_substr($strings[0], $i, null, $encoding);
10581058

10591059
foreach ($strings as $string) {

composer.lock

Lines changed: 51 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)