Skip to content

Commit

Permalink
Fix for lightbox exception - #981
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Aug 14, 2016
1 parent 95f362c commit ae8ca63
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 3 additions & 2 deletions system/src/Grav/Common/Page/Medium/ThumbnailImageMedium.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ public function parsedownElement($title = null, $alt = null, $class = null, $id
* @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]);
}

/**
Expand Down

0 comments on commit ae8ca63

Please sign in to comment.