Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(upgrade) migration to unifiedsql ouput in broker conf (#11951) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
a-launois authored Oct 7, 2022
1 parent 65d27b4 commit bfa875a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/install/php/Update-22.04.0-beta.1.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ function migrateBrokerConfigOutputsToUnifiedSql(CentreonDB $pearDB): void
AND config_value IN ($blockIdBinds)");
$grpIdStatement->bindValue(':configId', (int) $configId, PDO::PARAM_INT);
foreach ($blockIdsQueryBinds as $key => $value) {
$grpIdStatement->bindValue($key, (int) $value, PDO::PARAM_INT);
$grpIdStatement->bindValue($key, $value, PDO::PARAM_STR);
}
$grpIdStatement->execute();
$configGroupIds = $grpIdStatement->fetchAll(\PDO::FETCH_COLUMN, 0);
Expand Down

0 comments on commit bfa875a

Please sign in to comment.