0001-repatched-views-module.patch 1.1 KB

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