From ee2d222b85efe5c8de4c49a44b34661ff0bcb357 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 21 Feb 2016 22:42:24 -0500 Subject: [PATCH] Correct API docs for find(). Fixes #8308 --- 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 bab9193120f..5795814279e 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -2937,7 +2937,7 @@ public function hasAny($conditions = null) { * 'conditions' => array('name' => 'Thomas Anderson'), * 'fields' => array('name', 'email'), * 'order' => 'field3 DESC', - * 'recursive' => 2, + * 'recursive' => 1, * 'group' => 'type', * 'callbacks' => false, * ));