summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-08 04:12:30 +0200
committerlpsolit%gmail.com <>2005-07-08 04:12:30 +0200
commit3886fbfb3229e3918de3f661d1e6c19f7be520f0 (patch)
treeb42ef3f5c29bde618532ccd9381b5a6277b93684
parentdce0cf73010c7ed17f98a5b19148390d11788ef7 (diff)
downloadbugzilla-3886fbfb3229e3918de3f661d1e6c19f7be520f0.tar.gz
bugzilla-3886fbfb3229e3918de3f661d1e6c19f7be520f0.tar.xz
Bug 298507: several uninitialized values used in editwhines.cgi - Patch by A. Karl Kornel <karl@kornel.name> r=LpSolit a=justdave
-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;