Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
akrys committed Nov 19, 2024
2 parents f35cc34 + 5335d33 commit dab4405
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/Modules/Pictures.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ private function addArtSelectAndJoinStatements(array &$return, string $joinArtMe
$return['additionalJoins'] .= 'LEFT join rex_article as rex_article_art_meta on '.
'(rex_article_art_meta.id is not null and ('.$joinArtMeta.'))'.PHP_EOL;

$return['groupBy'] .= 'rex_article_art_meta.id,rex_article_cat_meta.id';
$return['groupBy'] .= (empty($return['groupBy']) ? '' : ',').'rex_article_art_meta.id';
}
}

Expand Down Expand Up @@ -441,6 +441,8 @@ private function addCatSelectAndJoinStatements(array &$return, string $joinCatMe
if ($joinCatMeta != '') {
$return['additionalJoins'] .= 'LEFT join rex_article as rex_article_cat_meta on '.
'(rex_article_cat_meta.id is not null and ('.$joinCatMeta.'))'.PHP_EOL;

$return['groupBy'] .= (empty($return['groupBy']) ? '' : ',').'rex_article_cat_meta.id';
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: usage_check
version: '3.2.2'
version: '3.2.3'
author: Axel Krysztofiak
supportpage: https://github.com/akrys/redaxo-usage_check
#load: early
Expand Down
4 changes: 4 additions & 0 deletions pages/release_notes/de/2024-11-19_3.2.3.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

<ul>
<li>Bugfix: möglicher SQL-Fehler, wenn Mediankategorien im SQL nicht benötigt werden.</li>
</ul>
4 changes: 4 additions & 0 deletions pages/release_notes/en/2024-11-19_3.2.3.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

<ul>
<li>Bugfix: posible SQL error, if media category table is not needed.</li>
</ul>

0 comments on commit dab4405

Please sign in to comment.