Skip to content

Commit 68c1b97

Browse files
authored
Fix GraphViz extension support (#803)
1 parent 22a1796 commit 68c1b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Graph/GraphPrinter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function hasMissingDependency() {
114114
$registry = \ExtensionRegistry::getInstance();
115115
return (
116116
// <graphviz> can be provided by Diagrams.
117-
!$registry->isLoaded( 'Diagrams' ) ||
117+
!$registry->isLoaded( 'Diagrams' ) &&
118118
!class_exists( 'GraphViz' ) && !class_exists( '\\MediaWiki\\Extension\\GraphViz\\GraphViz' )
119119
) && !(
120120
// <graphviz can also be added by External Data in Tag emulation mode.

0 commit comments

Comments
 (0)