Skip to content

Commit

Permalink
removed $i variable, it not being used...
Browse files Browse the repository at this point in the history
removed $i variable, it not being used...
  • Loading branch information
Andras Kende committed Aug 14, 2013
1 parent 3f58be2 commit d84a2d9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Cake/View/Scaffolds/view.ctp
Expand Up @@ -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'])) {
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit d84a2d9

Please sign in to comment.