Skip to content
Snippets Groups Projects
Commit 3670e575 authored by Angie Byron's avatar Angie Byron
Browse files

#1007448 by chalet16: Fix typo in DatabaseSchema_pgsql.

parent cc27bb5e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -368,7 +368,7 @@ public function addField($table, $field, $spec, $new_keys = array()) {
$this->connection->query($query);
if (isset($spec['initial'])) {
$this->connection->update($table)
->fields(array($field, $spec['initial']))
->fields(array($field => $spec['initial']))
->execute();
}
if ($fixnull) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment