Skip to content

Commit

Permalink
Updated affiliate.php and return.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyeng-opencart committed Oct 23, 2019
1 parent 03a7c85 commit 1189637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion upload/catalog/controller/account/affiliate.php
Expand Up @@ -237,7 +237,7 @@ public function getForm() {
$information_info = $this->model_catalog_information->getInformation($this->config->get('config_affiliate_id'));

if ($information_info) {
$data['text_agree'] = sprintf($this->language->get('text_agree'), $this->url->link('information/information/agree', 'language=' . $this->config->get('config_language') . '&information_id=' . $this->config->get('config_affiliate_id')), $information_info['title'], $information_info['title']);
$data['text_agree'] = sprintf($this->language->get('text_agree'), $this->url->link('information/information/agree', 'language=' . $this->config->get('config_language') . '&information_id=' . $this->config->get('config_affiliate_id')), $information_info['title']);
} else {
$data['text_agree'] = '';
}
Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/controller/account/return.php
Expand Up @@ -421,7 +421,7 @@ public function add() {
$information_info = $this->model_catalog_information->getInformation($this->config->get('config_return_id'));

if ($information_info) {
$data['text_agree'] = sprintf($this->language->get('text_agree'), $this->url->link('information/information/agree', 'language=' . $this->config->get('config_language') . '&information_id=' . $this->config->get('config_return_id')), $information_info['title'], $information_info['title']);
$data['text_agree'] = sprintf($this->language->get('text_agree'), $this->url->link('information/information/agree', 'language=' . $this->config->get('config_language') . '&information_id=' . $this->config->get('config_return_id')), $information_info['title']);
} else {
$data['text_agree'] = '';
}
Expand Down

0 comments on commit 1189637

Please sign in to comment.