Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php |
— | — | @@ -141,7 +141,7 @@ |
142 | 142 | $wgAutoloadClasses['SMWSQLHelpers'] = $smwgIP . 'includes/storage/SMW_SQLHelpers.php'; |
143 | 143 | |
144 | 144 | // To ensure SMW remains compatible with pre 1.16. |
145 | | - if ( !array_key_exists( 'Html', $wgAutoloadLocalClasses ) ) { |
| 145 | + if ( !class_exists( 'Html' ) ) { |
146 | 146 | $wgAutoloadClasses['Html'] = $smwgIP . 'compat/Html.php'; |
147 | 147 | } |
148 | 148 | |