From 9e4d83ec4ffbd8ccb7ab032bcdcd9bfee1745f8e Mon Sep 17 00:00:00 2001 From: Fomafix Date: Tue, 22 Oct 2024 09:32:53 +0000 Subject: [PATCH] Use '' instead of false for parameter $className SingleMenuEntry expects string|array for the parameter $className. Currently the ltrim converts a false to a ''. Change-Id: Icac8d41c01331cf7550e3592ee0366bdc561b547 --- includes/Menu/PageActions/DefaultOverflowBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Menu/PageActions/DefaultOverflowBuilder.php b/includes/Menu/PageActions/DefaultOverflowBuilder.php index 311a03040..8a29b5964 100644 --- a/includes/Menu/PageActions/DefaultOverflowBuilder.php +++ b/includes/Menu/PageActions/DefaultOverflowBuilder.php @@ -111,7 +111,7 @@ class DefaultOverflowBuilder implements IOverflowBuilder { 'page-actions-overflow-' . $name, $originalMsg, $href, - $toolbox[$name]['class'] ?? false + $toolbox[$name]['class'] ?? '' ); return $href ? $entry->setIcon( $icon )->trackClicks( $name ) : null;