Diff for /loncom/interface/lonmsgdisplay.pm between versions 1.188 and 1.189

version 1.188, 2019/08/11 15:15:39 version 1.189, 2019/08/12 14:38:21
Line 3009  sub sendoffmail { Line 3009  sub sendoffmail {
                 &Apache::lonnet::logthis('Failed to store To, Bcc and Cc recipients for '.$env{'user.name'}.':'.$env{'user.domain'});                  &Apache::lonnet::logthis('Failed to store To, Bcc and Cc recipients for '.$env{'user.name'}.':'.$env{'user.domain'});
             }              }
             if ($env{'form.attachment'}) {              if ($env{'form.attachment'}) {
                 if (length($env{'form.attachment'})<131072) {                  if (length($env{'form.attachment'}) <= 1048576) {
                     $attachmenturl=&Apache::lonnet::userfileupload('attachment',undef,'feedback/'.$now);                      $attachmenturl=&Apache::lonnet::userfileupload('attachment',undef,'feedback/'.$now);
                 } else {                  } else {
                     $r->print('<p><span class="LC_warning">'.&mt('Attachment not included - exceeded permitted length').'</span><br /></p>');                      $r->print('<p><span class="LC_warning">'.&mt('Attachment not included - exceeded permitted length').'</span><br /></p>');

Removed from v.1.188  
changed lines
  Added in v.1.189


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>