Permalink
Browse files

Fix worldpay validate modify permission.

Close #3209
  • Loading branch information...
1 parent 758c19c commit c70ae43253fee57a1d5ac26586d8552ab23d9625 @jamesallsup jamesallsup committed Aug 1, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 upload/admin/controller/payment/worldpay.php
@@ -344,7 +344,7 @@ public function refund() {
}
protected function validate() {
- if (!$this->user->hasPermission('modify', 'payment/realex')) {
+ if (!$this->user->hasPermission('modify', 'payment/worldpay')) {
$this->error['warning'] = $this->language->get('error_permission');
}

0 comments on commit c70ae43

Please sign in to comment.