From 8d443e88e737c7cfe3843299359de6ce226b7e4a Mon Sep 17 00:00:00 2001
From: Artem Kolotilkin <artem.kolotilkin@gmail.com>
Date: Thu, 23 Jun 2016 16:25:00 -0400
Subject: [PATCH] fix filter operator when value is 0

---
 includes/handlers.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/handlers.inc b/includes/handlers.inc
index 6c1e887..680a54d 100644
--- a/includes/handlers.inc
+++ b/includes/handlers.inc
@@ -1588,7 +1588,7 @@ class views_join {
             $extras[] = $extra;
           }
           // Otherwise - and if we have a value - use it for a field-to-value condition.
-          elseif (!empty($info['value'])) {
+          elseif (isset($info['value'])) {
             // Convert a single-valued array of values to the single-value case,
             // and transform from IN() notation to = notation
             if (is_array($info['value']) && count($info['value']) == 1) {
-- 
2.7.4

