To duplicate the problem:
1. log in as any user that does not have "administer lm_paypal" permission.
2. navigate to that user's account page, and you will not see the "PayPal Paid Adverts" list.

This is caused because the $user variable is never declared global before it is used in the logic of lm_paypal_paid_adverts_user() in lm_paypal_paid_adverts.module on line 351.

I fixed it by adding global $user; earlier in the function, around line 348.

I marked this bug as critical, because it made the module, in essence, un-useable, since users could not otherwise find their nodes to pay for them to be published!

Comments

john franklin’s picture

Status: Active » Closed (won't fix)

Closing all 5.x and earlier issues. If this is still an issue, please reopen and update with 6.x or 7.x details.