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
317ba1e2
Commit
317ba1e2
authored
Dec 24, 2009
by
Richard Mansfield
Browse files
Remove noisy warning when sending registration email
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
09ff3dd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/user.php
View file @
317ba1e2
...
...
@@ -428,7 +428,7 @@ function email_user($userto, $userfrom, $subject, $messagetext, $messagehtml='',
* object containing the email properties if they can
*/
function
can_receive_email
(
$userto
)
{
if
(
!
$userto
->
id
)
{
if
(
empty
(
$userto
->
id
)
)
{
// No user ID was provided by email_user
return
new
StdClass
;
}
...
...
Write
Preview
Markdown
is supported
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