Updating the payment settings for fees

Report issues with Enuuk Auction Platform or Mods here - remember to raise a ticket with phpauction.net as well
Post Reply
RWAP
Site Admin
Posts: 750
Joined: Fri Jan 08, 2010 2:23 am
Location: Stoke-on-Trent
Contact:

Updating the payment settings for fees

Post by RWAP » Thu Jun 22, 2017 3:54 pm

There is a bug in the admin backend where it is possible that the admin does not have any payment methods set for fees, and you cannot add new ones.

To overcome this, in Class\Action\Admin\Settings.php, find:

Code: Select all

$obj->userId = $this->context->loggedUser;
Change this to:

Code: Select all

$obj->userId = User::getInstanceFromDB($this->db,'admin');

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest