1
1
Fork 0

Merge pull request #13275 from MrPetovan/bug/warnings

Address a couple warnings
This commit is contained in:
Tobias Diekershoff 2023-07-11 15:27:21 +02:00 committed by GitHub
commit b3f8c0e0c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -589,6 +589,10 @@ class Conversation
*/
public function getThreadList(array $items, string $mode, bool $preview, bool $pagedrop, string $formSecurityToken): array
{
if (!$items) {
return [];
}
if (in_array($mode, [self::MODE_FILED, self::MODE_SEARCH, self::MODE_CONTACT_POSTS])) {
$threads = $this->getContextLessThreadList($items, $mode, $preview, $pagedrop, $formSecurityToken);
} else {

View file

@ -9,7 +9,7 @@
<div class="clear"></div>
{{if $submit}}
<div class="settings-submit-wrapper panel-footer">
{{if $submit}}
{{if $submit|is_string}}
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}

View file

@ -11,7 +11,7 @@
</div>
<div class="panel-footer">
{{if $submit}}
{{if $submit}}
{{if $submit|is_string}}
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}