Internal: Use Connection::executeStatement instead of Connection::executeUpdate

pull/5456/head
Angel Fernando Quiroz Campos 7 months ago
parent 5089a32c68
commit e23eb95897
  1. 2
      src/CoreBundle/Migrations/Schema/V200/Version20201216132000.php

@ -50,7 +50,7 @@ final class Version20201216132000 extends AbstractMigrationChamilo
}
// Execute the update query for item_root
$this->connection->executeUpdate('UPDATE c_lp_item SET item_root = :rootId WHERE lp_id = :lpId', [
$this->connection->executeStatement('UPDATE c_lp_item SET item_root = :rootId WHERE lp_id = :lpId', [
'rootId' => $rootItem->getIid(),
'lpId' => $lpId,
]);

Loading…
Cancel
Save