Skip to content

Commit b9ff697

Browse files
committed
Remove carousel trailing commas for PHP 7 compatibility
1 parent 2df632e commit b9ff697

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • views/shared/exhibit_layouts/carousel

views/shared/exhibit_layouts/carousel/form.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<?php echo $this->formLabel($formStem . '[options][carousel-title]', __('Carousel title')); ?>
1818
<?php
1919
echo $this->formText($formStem . '[options][carousel-title]',
20-
@$options['carousel-title'],
20+
@$options['carousel-title']
2121
);
2222
?>
2323
</div>
@@ -107,7 +107,7 @@
107107
<?php
108108
$defaultSpeed = 400;
109109
echo $this->formText($formStem . '[options][speed]',
110-
(@$options['speed']) ? @$options['speed'] : $defaultSpeed,
110+
(@$options['speed']) ? @$options['speed'] : $defaultSpeed
111111
);
112112
?>
113113
<p class="instructions"><?php echo __('Sets the speed for the scrolling animation. May be "fast", "slow", or a time in milliseconds. Default is 400.'); ?></p>
@@ -117,7 +117,7 @@
117117
<?php echo $this->formLabel($formStem . '[options][auto-slide]', __('Auto slide duration')); ?>
118118
<?php
119119
echo $this->formText($formStem . '[options][auto-slide]',
120-
@$options['auto-slide'],
120+
@$options['auto-slide']
121121
);
122122
?>
123123
<p class="instructions"><?php echo __('Time in milliseconds to pause before auto advance (set to 0 to turn off)'); ?></p>

0 commit comments

Comments
 (0)