From d4a0883cb973cc896045287fce3378587fa98c39 Mon Sep 17 00:00:00 2001 From: Haithem BEN GHORBAL Date: Wed, 28 May 2014 18:31:03 +0200 Subject: [PATCH] fix typo/coding style --- lib/Cake/Model/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 664016283..8fd9cc399 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -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; } }