summaryrefslogtreecommitdiff
path: root/run.inc
diff options
context:
space:
mode:
Diffstat (limited to 'run.inc')
-rwxr-xr-xrun.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.inc b/run.inc
index 71a0176..35bf0ef 100755
--- a/run.inc
+++ b/run.inc
@@ -7,7 +7,7 @@
$select_two = isset($form_state['values']['lab_experiment_list']) ? $form_state['values']['lab_experiment_list'] :
key($options_two);
- $url_lab_id = (int)arg(1);
+ $url_lab_id = (int)arg(2);
if(!$url_lab_id){
$selected = isset($form_state['values']['lab']) ? $form_state['values']['lab'] : key($options_first);
}elseif($url_lab_id == ''){