1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 16:54:44 +02:00
This commit is contained in:
Ryan Cramer
2023-06-05 13:25:45 -04:00
parent 50db3684fb
commit ac0239e5be

View File

@@ -495,6 +495,7 @@ class Modules extends WireArray {
if(!isset($this->moduleNames[$moduleID])) {
return empty($options['returnError']) ? null : "Unable to find module ID $moduleID";
}
$key = $this->moduleNames[$moduleID];
} else {
$moduleID = 0;
$key = wireClassName($key, false);