Merge "[New gallery] ignore perrow option in this mode, as doesn't make sense."
[lhc/web/wiklou.git] / includes / gallery / PackedImageGallery.php
index e042d0f..963ee6b 100644 (file)
@@ -36,7 +36,7 @@ class PackedImageGallery extends TraditionalImageGallery {
        const SCALE_FACTOR = 1.5;
 
        protected function getVPad( $boxHeight, $thumbHeight ) {
-               return ( $this->getThumbPadding() + $boxHeight - $thumbHeight/ self::SCALE_FACTOR ) / 2;
+               return ( $this->getThumbPadding() + $boxHeight - $thumbHeight / self::SCALE_FACTOR ) / 2;
        }
 
        protected function getThumbPadding() {