diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php index dd8a72a..f424dfe 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php @@ -66,8 +66,7 @@ public function execute() { $options = $this->queryOptions; $options['already_prepared'] = TRUE; $options['return'] = Database::RETURN_AFFECTED; - $this->connection->query($stmt, array(), $options); - - return $stmt->rowCount(); + return $this->connection->query($stmt, array(), $options); } + }