projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
views
/
views.theme.inc
diff --git
a/web/core/modules/views/views.theme.inc
b/web/core/modules/views/views.theme.inc
index 39e741420ae5ad5be48097ddc4b88fe4b69de52e..a26742b91c1a3b7fa4b330b786884cb245e9a384 100644
(file)
--- a/
web/core/modules/views/views.theme.inc
+++ b/
web/core/modules/views/views.theme.inc
@@
-90,7
+90,8
@@
function template_preprocess_views_view_fields(&$variables) {
// Loop through the fields for this view.
$previous_inline = FALSE;
// Loop through the fields for this view.
$previous_inline = FALSE;
- $variables['fields'] = []; // ensure it's at least an empty array.
+ // Ensure it's at least an empty array.
+ $variables['fields'] = [];
/** @var \Drupal\views\ResultRow $row */
$row = $variables['row'];
foreach ($view->field as $id => $field) {
/** @var \Drupal\views\ResultRow $row */
$row = $variables['row'];
foreach ($view->field as $id => $field) {
@@
-123,7
+124,8
@@
function template_preprocess_views_view_fields(&$variables) {
$object->raw = $row->{$view->field[$id]->field_alias};
}
else {
$object->raw = $row->{$view->field[$id]->field_alias};
}
else {
- $object->raw = NULL; // make sure it exists to reduce NOTICE
+ // Make sure it exists to reduce NOTICE.
+ $object->raw = NULL;
}
if (!empty($variables['options']['separator']) && $previous_inline && $object->inline && $object->content) {
}
if (!empty($variables['options']['separator']) && $previous_inline && $object->inline && $object->content) {