Skip to content

Commit

Permalink
Cast size to int in getGridSpan().
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Nov 25, 2017
1 parent 0c5c727 commit 348d54e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/fabrik/fabrik/Helpers/Html.php
Expand Up @@ -3115,6 +3115,7 @@ public static function modalJLayouts()
public static function getGridSpan($size, $viewport = 'medium')
{
static $spans;
$size = (int)$size;

if (!is_array($spans))
{
Expand Down

0 comments on commit 348d54e

Please sign in to comment.