File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ function kalatheme_preprocess_views_view_grid(&$variables) {
44
44
$ variables ['gridsize ' ] = kalatheme_get_grid_size ();
45
45
$ responsive_tiers = array ('xs ' , 'sm ' , 'lg ' );
46
46
foreach ($ responsive_tiers as $ tier ) {
47
- if (!$ variables ['options ' ]['responsive_toggle ' ]) {
47
+ if (!isset ( $ variables ['options ' ]['responsive_toggle ' ]) ) {
48
48
$ variables ['options ' ]['columns_ ' . $ tier ] = 1 ;
49
49
}
50
50
if (!empty ($ variables ['options ' ]['columns_ ' . $ tier ]) &&
@@ -57,7 +57,7 @@ function kalatheme_preprocess_views_view_grid(&$variables) {
57
57
if ($ variables ['gridsize ' ] % $ variables ['options ' ]['columns ' ] === 0 ) {
58
58
$ variables ['md ' ] = $ variables ['gridsize ' ] / $ variables ['options ' ]['columns ' ];
59
59
// We need to do ths too
60
- if (!$ variables ['options ' ]['responsive_toggle ' ]) {
60
+ if (!isset ( $ variables ['options ' ]['responsive_toggle ' ])) {
61
61
$ variables ['lg ' ] = $ variables ['gridsize ' ] / $ variables ['options ' ]['columns ' ];
62
62
}
63
63
}
You can’t perform that action at this time.
0 commit comments