Commit e43f258a authored by Leigh B Stoller's avatar Leigh B Stoller

Add missing -p option to tell backend which portal, and thus

which URL to use in the email.
parent 22077556
......@@ -47,6 +47,7 @@ function Do_Reserve()
global $this_user;
global $ajax_args;
global $suexec_output, $TB_PROJECT_CREATEEXPT;
global $PORTAL_GENESIS;
if (!isset($ajax_args["formfields"])) {
SPITAJAX_ERROR(-1, "Missing formfields");
......@@ -148,6 +149,7 @@ function Do_Reserve()
# make sure it is allowed.
#
$args = "-t " . escapeshellarg($formfields["type"]) . " ".
"-p $PORTAL_GENESIS " .
(isset($idx) ? "-u $idx " : "") .
(isset($start) ? "-s $start " : "") .
" -e $end $pid " . $formfields["count"];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment