mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
removed $i variable, it not being used...
removed $i variable, it not being used...
This commit is contained in:
parent
3f58be260e
commit
d84a2d9419
1 changed files with 0 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue