Commit 9fdf7a43 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to previous revision.

parent 2a09101d
...@@ -234,13 +234,14 @@ function Do_ApproveDataset() ...@@ -234,13 +234,14 @@ function Do_ApproveDataset()
# #
$retval = SUEXEC($this_uid, $lease->pid(), $retval = SUEXEC($this_uid, $lease->pid(),
"webapprovelease " . "webapprovelease " .
$lease->pid() . "/" . $lease->lease_id(), $lease->pid() . "/" .
$lease->gid() . "/" . $lease->lease_id(),
SUEXEC_ACTION_CONTINUE); SUEXEC_ACTION_CONTINUE);
if ($retval != 0) { if ($retval != 0) {
$error = "Transient error; please try again later"; $error = "Transient error; please try again later";
if ($retval && count($suexec_output_array)) { if ($retval && count($suexec_output_array)) {
$error = $suexec_output_array[0]; $error = $suexec_output;
} }
SPITAJAX_ERROR(1, $error); SPITAJAX_ERROR(1, $error);
return; return;
......
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