Commit 6a1ba5f6 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix.

parent 9ebd9c72
......@@ -322,7 +322,7 @@ else {
$profile =
APT_Profile->Create($instance, $project,
APT_Profile->Create($profile, $project,
$this_user, \%new_args, \$usererror);
if (!defined($profile)) {
if (defined($usererror)) {
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