From 3f58be260e8b3fde78992a1788f61bb37052af15 Mon Sep 17 00:00:00 2001 From: Andras Kende Date: Tue, 13 Aug 2013 22:06:00 -0700 Subject: [PATCH] removed not used $i variable removed not used $i variable --- lib/Cake/Console/Templates/default/views/view.ctp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Cake/Console/Templates/default/views/view.ctp b/lib/Cake/Console/Templates/default/views/view.ctp index f5009d718..b218b7241 100644 --- a/lib/Cake/Console/Templates/default/views/view.ctp +++ b/lib/Cake/Console/Templates/default/views/view.ctp @@ -94,7 +94,6 @@ if (empty($associations['hasAndBelongsToMany'])) { $associations['hasAndBelongsToMany'] = array(); } $relations = array_merge($associations['hasMany'], $associations['hasAndBelongsToMany']); -$i = 0; foreach ($relations as $alias => $details): $otherSingularVar = Inflector::variable($alias); $otherPluralHumanName = Inflector::humanize($details['controller']); @@ -112,9 +111,7 @@ foreach ($relations as $alias => $details): "; ?> \n"; +echo "\t\n"; echo "\t\t\n"; foreach ($details['fields'] as $field) { echo "\t\t\t\n";