From 8cd266c77fd051bcf0e76d039145919390a12e9b Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 24 Sep 2010 22:23:24 -0400 Subject: [PATCH] Correcting example in doc block. Fixes #1132 --- cake/libs/model/model.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cake/libs/model/model.php b/cake/libs/model/model.php index 9a663204e68..7e180c56208 100644 --- a/cake/libs/model/model.php +++ b/cake/libs/model/model.php @@ -2024,10 +2024,12 @@ function hasAny($conditions = null) { * find('all', array( * 'conditions' => array('name' => 'Thomas Anderson'), * 'joins' => array( - * 'alias' => 'Thought', - * 'table' => 'thoughts', - * 'type' => 'LEFT', - * 'conditions' => '`Thought`.`person_id` = `Person`.`id`' + * array( + * 'alias' => 'Thought', + * 'table' => 'thoughts', + * 'type' => 'LEFT', + * 'conditions' => '`Thought`.`person_id` = `Person`.`id`' + * ) * ) * )); * }}}