mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
take into account null value in formatter
This commit is contained in:
parent
15c304b1d1
commit
24833be681
@ -445,6 +445,8 @@ class SpreadSheetFormatter implements FormatterInterface
|
|||||||
$this->initializeCache($key);
|
$this->initializeCache($key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$value = null === $value ? '' : $value;
|
||||||
|
|
||||||
return call_user_func($this->cacheDisplayableResult[$key], $value);
|
return call_user_func($this->cacheDisplayableResult[$key], $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user