[ljcom] r11066: LJSUP-9956: For PR priv we should displa...
Committer: vsukhanov
LJSUP-9956: For PR priv we should display User and Mains fieldsU trunk/htdocs/admin/sendmail/send.bml
Modified: trunk/htdocs/admin/sendmail/send.bml
===================================================================
--- trunk/htdocs/admin/sendmail/send.bml 2011-10-03 09:29:23 UTC (rev 11065)
+++ trunk/htdocs/admin/sendmail/send.bml 2011-10-03 09:33:05 UTC (rev 11066)
@@ -156,7 +156,7 @@
# Since we expose the address we'd be sending to
# don't let them mail by user or community maints
# if they couldn't go look it up themselves
- if (LJ::check_priv($remote, 'finduser')) {
+ if (LJ::check_priv($remote, 'finduser') || LJ::check_priv($remote, "siteadmin", "pr")) {
$body .= "<label for='user'>User:</label></td><td>";
my $user = $edit_mode == 1 ? $POST{'user'} : $GET{'user'};
