diff --git a/cake/console/libs/acl.php b/cake/console/libs/acl.php index 0e44bd82b..5a7873da8 100644 --- a/cake/console/libs/acl.php +++ b/cake/console/libs/acl.php @@ -205,7 +205,7 @@ class AclShell extends Shell { extract($this->__dataVars()); $data = array( $class => array( - 'id' => $this->args[1], + 'id' => $this->args[1], 'parent_id' => $this->args[2] ) ); @@ -336,7 +336,12 @@ class AclShell extends Shell { } $last = $n[$class]['rght']; $count = count($stack); - $this->out(str_repeat(' ', $count) . "[" . $n[$class]['id'] . "]" . $n[$class]['alias']."\n"); + $indent = str_repeat(' ', $count); + if ($n[$class]['alias']) { + $this->out($indent . "[" . $n[$class]['id'] . "]" . $n[$class]['alias']."\n"); + } else { + $this->out($indent . "[" . $n[$class]['id'] . "]" . $n[$class]['model'] . '.' . $n[$class]['foreign_key'] . "\n"); + } } $this->hr(); } diff --git a/cake/console/libs/tasks/db_config.php b/cake/console/libs/tasks/db_config.php index 8fa5f8c23..fcd71052e 100644 --- a/cake/console/libs/tasks/db_config.php +++ b/cake/console/libs/tasks/db_config.php @@ -281,7 +281,7 @@ class DbConfigTask extends Shell { if ($info['persistent'] === false) { $info['persistent'] = 'false'; } else { - $info['persistent'] = 'false'; + $info['persistent'] = ($info['persistent'] == true) ? 'true' : 'false'; } $oldConfigs[] = array( diff --git a/cake/console/libs/templates/views/form.ctp b/cake/console/libs/templates/views/form.ctp index 961d653a3..78ebdda7b 100644 --- a/cake/console/libs/templates/views/form.ctp +++ b/cake/console/libs/templates/views/form.ctp @@ -50,16 +50,16 @@