Figures it'd be a missing paren.

This commit is contained in:
Brian Porter 2014-08-11 09:23:56 -05:00
parent be9be48c46
commit 6358208e32

View file

@ -66,7 +66,7 @@ class SchemaShell extends AppShell {
list($this->params['plugin'], $splitName) = pluginSplit($name); list($this->params['plugin'], $splitName) = pluginSplit($name);
$name = $this->params['name'] = $splitName; $name = $this->params['name'] = $splitName;
} }
if ($name && empty($this->params['file']) { if ($name && empty($this->params['file'])) {
$this->params['file'] = Inflector::underscore($name); $this->params['file'] = Inflector::underscore($name);
} else { } else {
$this->params['file'] = 'schema.php'; $this->params['file'] = 'schema.php';