Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyKZ committed Jun 8, 2020
1 parent b8e49c8 commit 1c6a570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/com_banners/src/Model/BannersModel.php
Expand Up @@ -218,6 +218,7 @@ protected function getListQuery()
$valuesToBind[] = $regexp;
}

// Because values to $query->bind() are passed by reference, using $query->bindArray() here instead to prevent overwriting.
$bounded = $query->bindArray($valuesToBind, ParameterType::STRING);

$condition1 = $db->quoteName('a.own_prefix') . ' = 1'
Expand Down

0 comments on commit 1c6a570

Please sign in to comment.