Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibek M Acharya committed Jul 25, 2018
1 parent 034f840 commit 8848f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/controller/extension/payment/khalti.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function index() {

$data['current'] = $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

if (($this->request->server['REQUEST_METHOD'] == 'POST') && ($this->validate())) {
if (($this->request->server['REQUEST_METHOD'] == 'POST')) {
$this->model_setting_setting->editSetting('payment_khalti', $this->request->post);

$this->session->data['success'] = $this->language->get('text_success');
Expand Down

0 comments on commit 8848f1a

Please sign in to comment.