Commit 6c355fe874750a9b5f454cbeeea28b5cf0f00236
Do not generate an internal error if the user has no e-mail
Author: Catalin(ux) M. BOIE
Author date (UTC): 2017-05-06 10:55
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2017-05-06 10:55
Parent(s): df300f967ebfaa70499d5b599dcb1dfae02a89f3
Signing key:
Tree: 8466e3ff47534f8c338f715533b79866baac0360
File inc/mail.inc.php changed (mode: 100644) (index e6a499e..90b4ccd) |
... |
... |
function rg_mail_template($template, $more) |
42 |
42 |
} |
} |
43 |
43 |
|
|
44 |
44 |
if (empty($more['ui']['email'])) { |
if (empty($more['ui']['email'])) { |
45 |
|
rg_internal_error('email is not set in more array'); |
|
46 |
45 |
$ret = TRUE; |
$ret = TRUE; |
47 |
46 |
break; |
break; |
48 |
47 |
} |
} |