Class prefixes for actions, commands and controllers can now be like 'foo_bar'.
[core.git] / inc / classes / main / resolver / command / image / class_ImageCommandResolver.php
index 6f4b1d2a35ddd4d850a26ef08402df2b133a18d7..b0fc8be66508aee9cb06d0c519b4af4860aa268d 100644 (file)
@@ -157,7 +157,7 @@ class ImageCommandResolver extends BaseCommandResolver implements CommandResolve
                $commandInstance = NULL;
 
                // Create class name
-               $className = $this->getClassPrefix() . $this->convertToClassName($commandName) . 'Command';
+               $className = $this->getCapitalizedClassPrefix() . $this->convertToClassName($commandName) . 'Command';
 
                // Is this class loaded?
                if (!class_exists($this->getClassName())) {