ADmads comments

This commit is contained in:
dogmatic69 2012-09-14 19:57:51 +01:00
parent cfadc4dbb0
commit f5a8eb6bbf
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ class ApiShell extends AppShell {
if ($count > 1) {
$file = Inflector::underscore($this->args[1]);
$class = Inflector::camelize($this->args[1]);
} elseif($count) {
} elseif ($count) {
$file = $type;
$class = Inflector::camelize($type);
}