Index: trunk/extensions/SemanticDrilldown/includes/SD_FilterValue.php |
— | — | @@ -38,7 +38,9 @@ |
39 | 39 | $originals = array('<', '>'); |
40 | 40 | $replacements = array('<', '>'); |
41 | 41 | $fv->text = str_replace($originals, $replacements, $fv->text); |
42 | | - if ($fv->text{0} == '<') { |
| 42 | + if ($fv->text == '') { |
| 43 | + // do nothing |
| 44 | + } elseif ($fv->text{0} == '<') { |
43 | 45 | $possible_number = str_replace(',', '', trim(substr($fv->text, 1))); |
44 | 46 | if (is_numeric($possible_number)) { |
45 | 47 | $fv->upper_limit = $possible_number; |