From 58a67dbb625f0c17ba32e1a7965fe68f6ec5e8b0 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 25 Mar 2013 15:59:58 +0800 Subject: Bug 854322: Use of uninitialized value in Bugzilla/Extension/Push/Serialise.pm line 131 --- extensions/Push/lib/Serialise.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/Push') 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 { -- cgit v1.2.3-24-g4f1b