Skip to content

Commit 404344c

Browse files
BurntimeXdtdesign
andauthored
Update wcfsetup/install/files/lib/system/listView/AbstractListView.class.php
Co-authored-by: Alexander Ebert <[email protected]>
1 parent 9ee2fab commit 404344c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

wcfsetup/install/files/lib/system/listView/AbstractListView.class.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,12 +457,11 @@ public function hasInteractions(): bool
457457
*/
458458
public function renderInteractionInitialization(): string
459459
{
460-
$code = '';
461-
if ($this->interactionProvider !== null) {
462-
$code = $this->getInteractionContextMenuView()->renderInitialization($this->getID() . '_items');
460+
if ($this->interactionProvider === null) {
461+
return '';
463462
}
464463

465-
return $code;
464+
return $this->getInteractionContextMenuView()->renderInitialization($this->getID() . '_items');
466465
}
467466

468467
/**

0 commit comments

Comments
 (0)