Skip to content

Commit

Permalink
Update Importer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz authored Dec 10, 2024
1 parent f899c67 commit c4dd130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/XSLT/Importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ protected function generateXML($xmlFile, $properties)
*/
protected function throwMissingClassException(string $class): void
{
$parts = explode('\\', $class);
$parts = explode('\\', ltrim($class, '\\'));
$namespace = count($parts) > 1 ? array_shift($parts) : null;
$localModules = ($localModulesEnv = getenv('VUFIND_LOCAL_MODULES'))
? array_map('trim', explode(',', $localModulesEnv)) : [];
Expand Down

0 comments on commit c4dd130

Please sign in to comment.