summaryrefslogtreecommitdiffstats
path: root/extensions/Push/lib/Serialise.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Push/lib/Serialise.pm')
-rw-r--r--extensions/Push/lib/Serialise.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Push/lib/Serialise.pm b/extensions/Push/lib/Serialise.pm
index 568a64f12..82eb654b5 100644
--- a/extensions/Push/lib/Serialise.pm
+++ b/extensions/Push/lib/Serialise.pm
@@ -128,7 +128,7 @@ sub _time {
sub _integer {
my ($value) = @_;
- return $value + 0;
+ return defined($value) ? $value + 0 : undef;
}
sub _array {