fix typo/coding style

This commit is contained in:
Haithem BEN GHORBAL 2014-05-28 18:31:03 +02:00
parent a8e410ee20
commit d4a0883cb9

View file

@ -1846,7 +1846,7 @@ class Model extends Object implements CakeEventListener {
if ($success) {
if (!empty($joined)) {
$this->_saveMulti($joined, $this->id, $db);
} else if ($count === 0) {
} elseif ($count === 0) {
$success = false;
}
}