Index: trunk/extensions/SemanticResultFormats/SRF_Settings.php |
— | — | @@ -53,7 +53,7 @@ |
54 | 54 | } |
55 | 55 | |
56 | 56 | # load hash format only if HashTables extension is initialised, otherwise 'Array' format is enough |
57 | | -if( defined( 'ExtHashTables::VERSION' ) |
| 57 | +if( array_key_exists( 'ExtHashTables', $wgAutoloadClasses ) && defined( 'ExtHashTables::VERSION' ) |
58 | 58 | && version_compare( ExtHashTables::VERSION, '0.999', '>=' ) |
59 | 59 | || isset( $wgHashTables ) // Version < 1.0 alpha |
60 | 60 | ) { |