Admin editing another user's listing - FIXED IN V3.0

Post Reply
RWAP
Site Admin
Posts: 750
Joined: Fri Jan 08, 2010 2:23 am
Location: Stoke-on-Trent
Contact:

Admin editing another user's listing - FIXED IN V3.0

Post by RWAP » Wed Jul 04, 2012 9:40 pm

I have just noticed that there are some issues with the class\Action\Offer.php edit() function when an admin uses this to edit someone else's listing.

In quite a few cases, such as payment methods and check on whether the seller is an adult (and can therefore list an adult listing), the code still looks at $this->context->loggedUser, rather than $offer->item->user

This does need tidying up.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest