Commit 3886fbfb authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 298507: several uninitialized values used in editwhines.cgi - Patch by A.…

Bug 298507: several uninitialized values used in editwhines.cgi - Patch by A. Karl Kornel <karl@kornel.name> r=LpSolit a=justdave
parent dce0cf73
...@@ -471,8 +471,8 @@ sub get_events { ...@@ -471,8 +471,8 @@ sub get_events {
$sth->execute($userid); $sth->execute($userid);
while (my ($ev, $sub, $bod) = $sth->fetchrow_array) { while (my ($ev, $sub, $bod) = $sth->fetchrow_array) {
$events->{$ev} = { $events->{$ev} = {
'subject' => $sub, 'subject' => $sub || '',
'body' => $bod, 'body' => $bod || '',
}; };
} }
return $events; return $events;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment