Fix for lightbox exception - #981

This commit is contained in:
Andy Miller
2016-08-14 10:42:34 -06:00
parent 95f362c9ce
commit ae8ca63fa7
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
# v1.1.3
## 08/14/2016
1. [](#bugfix)
* Fix for lightbox media function throwing error [#981](https://github.com/getgrav/grav/issues/981)
# v1.1.2
## 08/10/2016

View File

@@ -52,12 +52,13 @@ class ThumbnailImageMedium extends ImageMedium
* @param string $title
* @param string $alt
* @param string $class
* @param string $id
* @param bool $reset
* @return string
*/
public function html($title = null, $alt = null, $class = null, $reset = true)
public function html($title = null, $alt = null, $class = null, $id = null, $reset = true)
{
return $this->bubble('html', [$title, $alt, $class, $reset]);
return $this->bubble('html', [$title, $alt, $class, $id, $reset]);
}
/**