mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
parent
db247558b0
commit
b7415525c8
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ class ModelTask extends BakeTask {
|
|||
for ($i = 1, $m = $defaultChoice / 2; $i < $m; $i++) {
|
||||
$line = sprintf("%2d. %s", $i, $this->_validations[$i]);
|
||||
$optionText .= $line . str_repeat(" ", 31 - strlen($line));
|
||||
$optionText .= sprintf("%2d. %s", $m + $i, $this->_validations[$m + $i]);
|
||||
$optionText .= sprintf("%2d. %s\n", $m + $i, $this->_validations[$m + $i]);
|
||||
}
|
||||
$this->out($optionText);
|
||||
$this->out(__d('cake_console', "%s - Do not do any validation on this field.", $defaultChoice));
|
||||
|
|
Loading…
Reference in a new issue