File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1879,7 +1879,7 @@ protected function getThemeInfo($path)
1879
1879
// Check for compatibility with 2.1 or greater.
1880
1880
if (!$ theme_info_xml ->exists ('theme-info/install ' )) {
1881
1881
$ this ->deltree ($ path );
1882
- ErrorHandler::fatalLang ('package_get_error_theme_not_compatible ' , false , SMF_FULL_VERSION );
1882
+ ErrorHandler::fatalLang ('package_get_error_theme_not_compatible ' , false , [ SMF_FULL_VERSION ] );
1883
1883
}
1884
1884
1885
1885
// So, we have an install tag which is cool and stuff but we also need to check it and match your current SMF version...
@@ -1889,7 +1889,7 @@ protected function getThemeInfo($path)
1889
1889
// The theme isn't compatible with the current SMF version.
1890
1890
if (!$ install_versions || !SubsPackage::matchPackageVersion ($ the_version , $ install_versions )) {
1891
1891
$ this ->deltree ($ path );
1892
- ErrorHandler::fatalLang ('package_get_error_theme_not_compatible ' , false , SMF_FULL_VERSION );
1892
+ ErrorHandler::fatalLang ('package_get_error_theme_not_compatible ' , false , [ SMF_FULL_VERSION ] );
1893
1893
}
1894
1894
1895
1895
$ theme_info_xml = $ theme_info_xml ->to_array ('theme-info[0] ' );
You can’t perform that action at this time.
0 commit comments