Skip to content

Commit

Permalink
Fixed more variable access errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jun 26, 2022
1 parent ea3770c commit d944999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/MultilingualTrait.php
Expand Up @@ -246,7 +246,7 @@ protected static function createCollectionFromDbResult(Result $objResult, $strTa
protected static function applyOptionsToQueryBuilder(QueryBuilder $qb, array $options)
{
// Columns
if (null !== $options['column']) {
if (!empty($options['column'])) {
if (is_array($options['column'])) {
foreach ($options['column'] as $column) {
$qb->andWhere($column);
Expand Down

0 comments on commit d944999

Please sign in to comment.