X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/7581b5c3f07dcb43414160f7c3b6a294ce838904..HEAD:/word/report.plp diff --git a/word/report.plp b/word/report.plp index 56d6188..c40b0af 100644 --- a/word/report.plp +++ b/word/report.plp @@ -8,5 +8,5 @@ $db->insert(report => { agent => $ENV{HTTP_USER_AGENT}, page => $ENV{HTTP_REFERER}, address => $ENV{REMOTE_ADDR}, - history => $PLP::read->($ENV{CONTENT_LENGTH}), + history => (map {$_ ? $PLP::read->($_) : undef} $ENV{CONTENT_LENGTH}), });