Skip to content

Commit

Permalink
Fix missing closing div tag
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 committed May 10, 2018
1 parent ac14343 commit af53738
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions application/modules/user/views/panel/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@
</div>
</div>
<?php if ($this->get('usermenusettingslinks') != ''): ?>
<?php $i = 0; ?>
<?php
$i = 0;
$countLinks = count($this->get('usermenusettingslinks'));
?>
<?php foreach ($this->get('usermenusettingslinks') as $usermenulinks): ?>
<?php if ($i % 3 == 0): ?>
<div class="settings-stretch">
Expand All @@ -88,7 +91,7 @@
</div>
</div>
<?php $i++ ?>
<?php if ($i == 3): ?>
<?php if ($i == 3 || $i == $countLinks): ?>
</div>
<?php $i = 0; ?>
<?php endif; ?>
Expand Down

0 comments on commit af53738

Please sign in to comment.