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

[ljcom] r10754: OPSC-345: Royalty payment enabled in Wal...

Committer: vtroitsky
OPSC-345: Royalty payment enabled in Wallet

U   trunk/cgi-bin/LJ/Pay/Wallet.pm
Modified: trunk/cgi-bin/LJ/Pay/Wallet.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/Wallet.pm	2011-07-12 03:31:07 UTC (rev 10753)
+++ trunk/cgi-bin/LJ/Pay/Wallet.pm	2011-07-12 03:35:46 UTC (rev 10754)
@@ -247,7 +247,7 @@
     my $pi = LJ::Pay::Payment::PayItem->load($piid);
 
     LJ::Pay::Wallet::Error->raise(ERROR_INVALID_PAYITEM, { 'piid' => $piid })
-        unless $pi->get_item =~ /^(?:tokens|donate)$/;
+        unless $pi->get_item =~ /^(?:tokens|donate|royalty)$/;
 
     my $uid = $pi->get_rcptid;
     my $u = LJ::want_user($uid);

Tags: ljcom, pm, sunnyman
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