diff --git a/contrib/cachetool.php b/contrib/cachetool.php index 5e8bd3939..aa324eceb 100644 --- a/contrib/cachetool.php +++ b/contrib/cachetool.php @@ -72,7 +72,9 @@ $return = [$fullOptions]; } elseif (count($options) > 0) { foreach ($options as $option) { - $return[] = "--fcgi={$option}"; + if ($option !== '') { + $return[] = "--fcgi={$option}"; + } } }