Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
5e5a969a
Commit
5e5a969a
authored
Apr 14, 2007
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/contact.php
View file @
5e5a969a
...
@@ -40,7 +40,7 @@ if ($USER->is_logged_in()) {
...
@@ -40,7 +40,7 @@ if ($USER->is_logged_in()) {
$email
=
$USER
->
get
(
'email'
);
$email
=
$USER
->
get
(
'email'
);
}
}
else
{
else
{
$userid
=
null
;
$userid
=
0
;
$name
=
''
;
$name
=
''
;
$email
=
''
;
$email
=
''
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment