diff --git a/Archiver.php b/Archiver.php index 93defe7..b3d4e35 100644 --- a/Archiver.php +++ b/Archiver.php @@ -129,7 +129,7 @@ protected function aggregateFromVisits($query, $keyField, $valueField) protected function cleanCustomVarValue($value) { - if (strlen($value)) { + if ($value !== null && strlen($value)) { return $value; } return self::LABEL_CUSTOM_VALUE_NOT_DEFINED;