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

Bug fix.

parent 5cf10446
......@@ -805,6 +805,15 @@ else {
if (!$temp) {
$errors["profile"] = "No such profile in the database";
}
#
# Real users are allowed to use Paramterized Profiles, which means
# we could get an rspec.
#
if ($temp->isParameterized() &&
$this_user && !$this_user->IsNonLocal() &&
isset($formfields["pp_rspec"]) && $formfields["pp_rspec"] != "") {
$args["rspec"] = $formfields["pp_rspec"];
}
}
if ($this_user) {
......@@ -855,16 +864,6 @@ if (!$this_user) {
}
}
#
# Real users are allowed to use Paramterized Profiles, which means
# we could get an rspec.
#
if ($profile && $profile->isParameterized() &&
$this_user && !$this_user->IsNonLocal() &&
isset($formfields["pp_rspec"]) && $formfields["pp_rspec"] != "") {
$args["rspec"] = $formfields["pp_rspec"];
}
#
# Allow admin users to select the Aggregate. Experimental.
#
......
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