summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-25 08:59:58 +0100
committerByron Jones <bjones@mozilla.com>2013-03-25 08:59:58 +0100
commit58a67dbb625f0c17ba32e1a7965fe68f6ec5e8b0 (patch)
treebff5f69eb4a54affbbc331bbd43d6ef96a45deae /extensions
parent9c177145ceb127429b4dc71499ab879caf607fd4 (diff)
downloadbugzilla-58a67dbb625f0c17ba32e1a7965fe68f6ec5e8b0.tar.gz
bugzilla-58a67dbb625f0c17ba32e1a7965fe68f6ec5e8b0.tar.xz
Bug 854322: Use of uninitialized value in Bugzilla/Extension/Push/Serialise.pm line 131
Diffstat (limited to 'extensions')
-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 {