diff --git a/system/View/Cell.php b/system/View/Cell.php index de9bbe636e4e..141ceaf32f01 100644 --- a/system/View/Cell.php +++ b/system/View/Cell.php @@ -181,8 +181,7 @@ protected function determineClass(string $library): array } // locate and return an instance of the cell - // @TODO extend Factories to be able to load classes with the same short name. - $object = class_exists($class) ? new $class() : Factories::cells($class); + $object = Factories::cells($class, ['getShared' => false]); if (! is_object($object)) { throw ViewException::forInvalidCellClass($class);