if isset this- request- post apply and this- request- post apply this-

1
2
3
4
5
if(isset($this->request->post['apply']) and $this->request->post['apply']){
$this->redirect(HTTPS_SERVER . 'index.php?route=catalog/product/update&token=' . $this->session->data['token'].'&product_id='.$product_id);
}else{
$this->redirect(HTTPS_SERVER . 'index.php?route=catalog/product&token=' . $this->session->data['token'] . $url);
}