aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;