Skip to content

Commit 6fafc4f

Browse files
Fix PHPUnit test case error #973
1 parent 05741f5 commit 6fafc4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Visualizer/Module/Admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ public function addMultilingualSupport( $chart_id ) {
11821182
*
11831183
* @return bool Default false
11841184
*/
1185-
public function checkChartStatus( $type ) {
1185+
public static function checkChartStatus( $type ) {
11861186
$types = self::_getChartTypesLocalized( false, false, false, true );
11871187
if ( isset( $types[ $type ] ) ) {
11881188
return ! empty( $types[ $type ]['enabled'] );

0 commit comments

Comments
 (0)