Skip to content

Commit

Permalink
Fix worldpay validate modify permission.
Browse files Browse the repository at this point in the history
Close #3209
  • Loading branch information
jamesallsup committed Aug 1, 2015
1 parent 758c19c commit c70ae43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/payment/worldpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit c70ae43

Please sign in to comment.