sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[livejournal] r20939: LJSUP-10858: Absent ditemid error messag...

Committer: vtroitsky
LJSUP-10858: Absent ditemid error message corrected
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-01-19 15:23:07 UTC (rev 20938)
+++ trunk/cgi-bin/ljprotocol.pl	2012-01-20 07:54:30 UTC (rev 20939)
@@ -545,7 +545,7 @@
     }
 
     return fail($err,200,"journal") unless($journal);
-    return fail($err,200,"ditemid") unless($req->{ditemid});
+    return fail($err,200,"ditemid or itemid") unless($req->{ditemid} || $req->{itemid});
 
     my $itemid = int($req->{ditemid} / 256);
     $itemid ||= $req->{itemid} + 0;

Tags: livejournal, pl, sunnyman, vtroitsky
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