mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-09-06 09:01:23 +00:00
Update Drupal 7 dependencies
This commit is contained in:
parent
7d902ba1ef
commit
13df912654
391 changed files with 2900 additions and 1502 deletions
|
@ -1190,6 +1190,15 @@ class UpdateQuery extends Query implements QueryConditionInterface {
|
|||
* The prepared statement.
|
||||
*/
|
||||
public function __toString() {
|
||||
if (!is_array($this->expressionFields) || !is_array($this->fields)) {
|
||||
if (version_compare(PHP_VERSION, '7.4', '>=')) {
|
||||
throw new UnexpectedValueException();
|
||||
}
|
||||
else {
|
||||
drupal_trigger_fatal_error('Unexpected Value');
|
||||
}
|
||||
}
|
||||
|
||||
// Create a sanitized comment string to prepend to the query.
|
||||
$comments = $this->connection->makeComment($this->comments);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue