[Legacy] PHP 8.2 - Fix SugarFeedDashlet.php warning

This commit is contained in:
s.samko 2023-07-28 13:42:03 +01:00 committed by Jack Anderson
parent 30ebc1d90c
commit 029d201a28

View file

@ -604,7 +604,7 @@ enableQS(false);
$listview = preg_replace_callback(
'/\[(\w+)\:([\w\-\d]*)\:([^\]]*)\]/',
static function (&$matches) use ($routeConverter) {
static function ($matches) use ($routeConverter) {
$module = $matches[1] ?? '';
$record = $matches[2] ?? '';
$name = $matches[3] ?? '';