Commit 5e5a969a authored by Penny Leach's avatar Penny Leach
Browse files

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

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