summaryrefslogtreecommitdiff
path: root/run.inc
diff options
context:
space:
mode:
Diffstat (limited to 'run.inc')
-rwxr-xr-xrun.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.inc b/run.inc
index 49c218b..122753a 100755
--- a/run.inc
+++ b/run.inc
@@ -2,7 +2,7 @@
function om_flowsheet_run_form($form, &$form_state)
{
$options_first = _list_of_flowsheet();
- $url_flowsheet_id = (int) arg(2);
+ $url_flowsheet_id = (int) arg(3);
$flowsheet_data = _flowsheet_information($url_flowsheet_id);
if ($flowsheet_data == 'Not found') {
$url_flowsheet_id = '';
@@ -141,4 +141,4 @@ function _flowsheet_details($flowsheet_default_value)
$details = $form['flowsheet_details']['#markup'];
return $details;
} //$flowsheet_default_value != 0
-}
+} \ No newline at end of file