Browse Source

Merge pull request #4001 from karmicdice/patch-1

Throwing errors correctly now Ref #4000
ADmad 11 years ago
parent
commit
5aa85db5a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controller/ComponentRegistry.php

+ 1 - 1
src/Controller/ComponentRegistry.php

@@ -79,7 +79,7 @@ class ComponentRegistry extends ObjectRegistry {
  */
 	protected function _throwMissingClassError($class, $plugin) {
 		throw new Error\MissingComponentException([
-			'class' => $class,
+			'class' => $class . 'Component',
 			'plugin' => $plugin
 		]);
 	}