aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-08 02:12:30 +0000
committerlpsolit%gmail.com <>2005-07-08 02:12:30 +0000
commit3886fbfb3229e3918de3f661d1e6c19f7be520f0 (patch)
treeb42ef3f5c29bde618532ccd9381b5a6277b93684 /editwhines.cgi
parentBug 240251: Bug::AppendComment() should receive the user ID as a 2nd paramete... (diff)
downloadbugzilla-3886fbfb3229e3918de3f661d1e6c19f7be520f0.tar.gz
bugzilla-3886fbfb3229e3918de3f661d1e6c19f7be520f0.tar.bz2
bugzilla-3886fbfb3229e3918de3f661d1e6c19f7be520f0.zip
Bug 298507: several uninitialized values used in editwhines.cgi - Patch by A. Karl Kornel <karl@kornel.name> r=LpSolit a=justdave
Diffstat (limited to 'editwhines.cgi')
-rwxr-xr-xeditwhines.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editwhines.cgi b/editwhines.cgi
index 9c27bcd0a..33a7fc499 100755
--- a/editwhines.cgi
+++ b/editwhines.cgi
@@ -471,8 +471,8 @@ sub get_events {
$sth->execute($userid);
while (my ($ev, $sub, $bod) = $sth->fetchrow_array) {
$events->{$ev} = {
- 'subject' => $sub,
- 'body' => $bod,
+ 'subject' => $sub || '',
+ 'body' => $bod || '',
};
}
return $events;