SMF Development > Bug Reports

Another paid subscriptions bug?

<< < (6/11) > >>

Krash.:

Try this.

Wazza:
okay doing now  ;)

Wazza:

--- Quote ---Parse error: syntax error, unexpected '{' in /home/wazza/public_html/ATown/Sources/Subscriptions-PayPal.php on line 260
--- End quote ---

feline:
Replace at line 258:

--- Code: --- if (($_POST['txn_type'] == 'subscr_payment' || $_POST['txn_type'] == 'subscr_signup') && !empty($_POST['subscr_id'])

--- End code ---

with:

--- Code: --- if (($_POST['txn_type'] == 'subscr_payment' || $_POST['txn_type'] == 'subscr_signup') && !empty($_POST['subscr_id']))

--- End code ---

Krash.:

That's what I had previously.   Subscription didn't work, but didn't cause a parse error.  Something must be wrong with the boolean.



Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version