From 1d94d3ccfd7e5b9301de32e6d560b72775a8e572 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 7 Aug 2008 17:06:03 +0000 Subject: [PATCH] Removed $ from model task. Closes #5216. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7441 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/console/libs/tasks/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/console/libs/tasks/model.php b/cake/console/libs/tasks/model.php index 3b5b75d16..5d38a7d15 100644 --- a/cake/console/libs/tasks/model.php +++ b/cake/console/libs/tasks/model.php @@ -566,7 +566,7 @@ class ModelTask extends Shell { $out .= "\n"; if (!empty($associations)) { - if (!empty($associations['belongsTo']) || !empty($associations['$hasOne']) || !empty($associations['hasMany']) || !empty($associations['hasAndBelongsToMany'])) { + if (!empty($associations['belongsTo']) || !empty($associations['hasOne']) || !empty($associations['hasMany']) || !empty($associations['hasAndBelongsToMany'])) { $out.= "\t//The Associations below have been created with all possible keys, those that are not needed can be removed\n"; }