Fixed Can't delete payment profiles

Affected version
2.0.2

DragonByte Tech

Well-known member
I receive this error when attempting to delete payment profiles:

ErrorException: [E_WARNING] array_merge(): Argument #2 is not an array in src\XF\Admin\Controller\PaymentProfile.php at line 150
  1. XF::handlePhpError()
  2. array_merge() in src\XF\Admin\Controller\PaymentProfile.php at line 150
  3. XF\Admin\Controller\PaymentProfile->actionDelete() in src\XF\Mvc\Dispatcher.php at line 249
  4. XF\Mvc\Dispatcher->dispatchClass() in src\XF\Mvc\Dispatcher.php at line 88
  5. XF\Mvc\Dispatcher->dispatchLoop() in src\XF\Mvc\Dispatcher.php at line 41
  6. XF\Mvc\Dispatcher->run() in src\XF\App.php at line 1889
  7. XF\App->run() in src\XF.php at line 328
  8. XF::runApp() in admin.php at line 13

Fillip
 
Top