Skip to content

Commit

Permalink
fix typo/coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
Haititi committed May 28, 2014
1 parent a8e410e commit d4a0883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Model.php
Expand Up @@ -1846,7 +1846,7 @@ public function save($data = null, $validate = true, $fieldList = array()) {
if ($success) {
if (!empty($joined)) {
$this->_saveMulti($joined, $this->id, $db);
} else if ($count === 0) {
} elseif ($count === 0) {
$success = false;
}
}
Expand Down

0 comments on commit d4a0883

Please sign in to comment.