Skip to content
Snippets Groups Projects
Commit 7dd0ee98 authored by git's avatar git Committed by Tim Plunkett
Browse files

Issue #1718924 by cam8001 | romaingar: Fixed JS settings cache comparision.

parent 4235bf13
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
......@@ -249,7 +249,7 @@ function restore_headers() {
}
if (!empty($this->storage['js'])) {
foreach ($this->storage['js'] as $key => $args) {
if ($key != 'settings') {
if ($key !== 'settings') {
drupal_add_js($args['data'], $args);
}
else {
......
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