Issue #3309750 by andypost, Berdir: Fix callable syntax for PHP 8.2 in Views.php

merge-requests/2780/head
catch 2022-09-19 20:39:23 +01:00
parent 62356c1a6e
commit 9ff2c846dc
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class Views {
case 'disabled':
case 'enabled':
$filter = ucfirst($filter);
$views = call_user_func("static::get{$filter}Views");
$views = call_user_func(static::class . "::get{$filter}Views");
break;
default: