Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgs committed Aug 30, 2023
1 parent f92d753 commit 8f73aa0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions InstanceTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,11 @@ public function redcap_every_page_before_render($project_id) {
$_SESSION['extmod_closerec_home'] = $_POST['extmod_closerec_home'];

} else if (PAGE==='DataEntry/index.php' && isset($_GET['extmod_instance_table']) && isset($_GET['extmod_instance_table_add_new'])) {
global $Proj, $lang, $user_rights;
$this->Proj = $Proj;
$this->lang = &$lang;
$this->user_rights = &$user_rights;
$this->isSurvey = false;
// adding new instance - read current max and redirect to + 1
$formKey = ($this->Proj->isRepeatingEvent($_GET['event_id']))
? '' // repeating event - empty string key
Expand Down

0 comments on commit 8f73aa0

Please sign in to comment.