Permalink
Browse files

removed $i variable, it not being used...

removed $i variable, it not being used...
  • Loading branch information...
1 parent 3f58be2 commit d84a2d9419122917c37bfa7a496f4498df40d1c3 @andraskende andraskende committed Aug 14, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/Cake/View/Scaffolds/view.ctp
@@ -21,7 +21,6 @@
<h2><?php echo __d('cake', 'View %s', $singularHumanName); ?></h2>
<dl>
<?php
-$i = 0;
foreach ($scaffoldFields as $_field) {
$isKey = false;
if (!empty($associations['belongsTo'])) {
@@ -98,7 +97,6 @@ foreach ($associations['hasOne'] as $_alias => $_details): ?>
<?php if (!empty(${$singularVar}[$_alias])): ?>
<dl>
<?php
- $i = 0;
$otherFields = array_keys(${$singularVar}[$_alias]);
foreach ($otherFields as $_field) {
echo "\t\t<dt>" . Inflector::humanize($_field) . "</dt>\n";

0 comments on commit d84a2d9

Please sign in to comment.