Last active
April 9, 2018 17:58
-
-
Save beinoriusju/b3b87c6a4deccda36e3c9e58a040ff13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function index() { | |
if (!isset($this->request->get['module_id'])) { | |
$module_id = $this->addModule(); | |
$this->response->redirect($this->url->link('extension/module/age_restriction','&user_token='.$this->session->data['user_token'].'&module_id='.$this->db->getLastId())); | |
} else { | |
$this->editModule($this->request->get['module_id']); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment