Skip to content

Commit

Permalink
Merge branch 'master' of http://github.com/opencart/opencart
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Aug 1, 2015
2 parents 8bc3f57 + f368b3e commit 743c306
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/payment/worldpay.php
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
2 changes: 2 additions & 0 deletions upload/system/library/language.php
Expand Up @@ -32,5 +32,7 @@ public function load($filename) {
}

$this->data = array_merge($this->data, $_);

return $this->data;
}
}

0 comments on commit 743c306

Please sign in to comment.