12345678910111213141516171819202122232425 |
- From 7becdeff922748fb65a320903b0ee37268895dd1 Mon Sep 17 00:00:00 2001
- From: Bachir Soussi Chiadmi <bachir@g-u-i.me>
- Date: Sun, 19 Apr 2015 21:13:38 +0200
- Subject: [PATCH] repatched views module
- ---
- sites/all/modules/contrib/views/views/handlers/views_handler_field.inc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/sites/all/modules/contrib/views/views/handlers/views_handler_field.inc b/sites/all/modules/contrib/views/views/handlers/views_handler_field.inc
- index 65210d9..c04fd46 100644
- --- a/sites/all/modules/contrib/views/views/handlers/views_handler_field.inc
- +++ b/sites/all/modules/contrib/views/views/handlers/views_handler_field.inc
- @@ -372,7 +372,7 @@ class views_handler_field extends views_handler {
- * Optional name of the field where the value is stored.
- */
- function get_value($values, $field = NULL) {
- - $alias = isset($field) ? $this->aliases[$field] : $this->field_alias;
- + $alias = isset($field) && isset($this->aliases[$field]) ? $this->aliases[$field] : $this->field_alias;
- if (isset($values->{$alias})) {
- return $values->{$alias};
- }
- --
- 2.3.5
|