mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Texts slightly modified
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5550 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5ba07c76c4
commit
22c25e62f8
1 changed files with 2 additions and 2 deletions
|
@ -318,10 +318,10 @@ class ControllerTask extends Shell {
|
|||
$actions .= "\t\t\t\$this->cleanUpFields();\n";
|
||||
$actions .= "\t\t\tif (\$this->{$currentModelName}->save(\$this->data)) {\n";
|
||||
if (low($wannaUseSession) == 'y' || low($wannaUseSession) == 'yes') {
|
||||
$actions .= "\t\t\t\t\$this->Session->setFlash('The ".$singularHumanName." saved');\n";
|
||||
$actions .= "\t\t\t\t\$this->Session->setFlash('The ".$singularHumanName." has been saved');\n";
|
||||
$actions .= "\t\t\t\t\$this->redirect(array('action'=>'index'), null, true);\n";
|
||||
} else {
|
||||
$actions .= "\t\t\t\t\$this->flash('The ".$singularHumanName." saved.', array('action'=>'index'));\n";
|
||||
$actions .= "\t\t\t\t\$this->flash('The ".$singularHumanName." has been saved.', array('action'=>'index'));\n";
|
||||
$actions .= "\t\t\t\texit();\n";
|
||||
}
|
||||
$actions .= "\t\t\t} else {\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue