Skip to content

Commit

Permalink
Gallery: Remove usage of no longer existing column 'cat' (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 committed Jul 17, 2023
1 parent 286d770 commit 2685c5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/modules/gallery/boxes/Pictureofx.php
Expand Up @@ -14,7 +14,7 @@ public function render()
{
$imageMapper = new ImageMapper();
$galleries = explode(',', $this->getConfig()->get('gallery_pictureOfXSource'));
$imageIds = $imageMapper->getListOfValidIds(['cat' => $galleries]);
$imageIds = $imageMapper->getListOfValidIds(['gallery_id' => $galleries]);

if (!empty($imageIds)) {
$currentPicOfX = explode(',', $this->getConfig()->get('gallery_currentPicOfX'));
Expand Down
2 changes: 1 addition & 1 deletion application/modules/gallery/config/config.php
Expand Up @@ -10,7 +10,7 @@ class Config extends \Ilch\Config\Install
{
public $config = [
'key' => 'gallery',
'version' => '1.20.0',
'version' => '1.20.1',
'icon_small' => 'fa-regular fa-image',
'author' => 'Stantin, Thomas',
'link' => 'https://ilch.de',
Expand Down

0 comments on commit 2685c5b

Please sign in to comment.