vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r19735: LJSUP-9532: Error after sending the mess...

Committer: vsukhanov
LJSUP-9532: Error after sending the message without body.
U   trunk/cgi-bin/LJ/Message.pm
Modified: trunk/cgi-bin/LJ/Message.pm
===================================================================
--- trunk/cgi-bin/LJ/Message.pm	2011-08-16 04:59:57 UTC (rev 19734)
+++ trunk/cgi-bin/LJ/Message.pm	2011-08-16 07:07:45 UTC (rev 19735)
@@ -187,8 +187,8 @@
            undef,
            $userid,
            $self->msgid,
-           $self->subject_raw,
-           $self->body_raw,
+           $self->subject_raw || '',
+           $self->body_raw    || '',
           );
     if ($u->err) {
         warn($u->errstr);

Tags: livejournal, pm, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments