Commit 95471cfc authored by Leigh B Stoller's avatar Leigh B Stoller

Pass portal genesis through to create_instance.

parent 62996b10
......@@ -724,6 +724,7 @@ function Do_Submit()
{
global $this_user;
global $ajax_args;
global $PORTAL_GENESIS;
global $TBAUTHDOMAIN, $ISAPT, $ISPNET, $ISEMULAB, $DEFAULT_AGGREGATE_URN;
if (!isset($ajax_args["formfields"])) {
......@@ -743,7 +744,7 @@ function Do_Submit()
$formfields = $ajax_args["formfields"];
$am_array = Instance::DefaultAggregateList();
$errors = array();
$args = array();
$args = array("portal" => $PORTAL_GENESIS);
$profile = Profile::Lookup($formfields["profile"]);
#
......
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