Commit 2f175e5b authored by Penny Leach's avatar Penny Leach

fixing contact form for logged in users - hidden values can't have null

values so set userid to 0
parent cbeaf358
......@@ -37,7 +37,7 @@ if ($USER->is_logged_in()) {
$email = $USER->get('email');
}
else {
$userid = null;
$userid = 0;
$name = '';
$email = '';
}
......
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