Skip to content

Commit

Permalink
Fix for uikit bootstrap grid
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Dec 1, 2017
1 parent 2a47e8a commit 9013209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uikit/fabrik-bootstrap-grid.php
Expand Up @@ -29,8 +29,8 @@

foreach ($d->items as $i => $s)
{
$endLine = ($i !== 0 && (($i) % $d->columns[1] == 0));
$newLine = ($i % $d->columns[1] == 0);
$endLine = ($i !== 0 && (($i) % $d->columns == 0));
$newLine = ($i % $d->columns == 0);

if ($endLine)
{
Expand Down

0 comments on commit 9013209

Please sign in to comment.