Skip to content

Commit

Permalink
Fix mistake with property name.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 25, 2014
1 parent b7645fc commit f5ae469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Templates/default/views/view.ctp
Expand Up @@ -101,7 +101,7 @@ foreach ($relations as $alias => $details):
?>
<div class="related">
<h3><?= "<?= __('Related " . $otherPluralHumanName . "'); ?>"; ?></h3>
<?= "<?php if (!empty(\${$singularVar}->{$alias})): ?>\n"; ?>
<?= "<?php if (!empty(\${$singularVar}->{$details['property']})): ?>\n"; ?>
<table cellpadding="0" cellspacing="0">
<tr>
<?php
Expand Down

0 comments on commit f5ae469

Please sign in to comment.