All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 499a635e authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 6d94d370
......@@ -84,7 +84,8 @@ class WebTask {
$query_result =
DBQueryWarn("insert into web_tasks set task_id='$task_id', ".
" created=now(), object_uuid='$task_id'");
if (!$query_result || !mysql_num_rows($query_result)) {
if (!$query_result) {
return null;
return WebTask::Lookup($task_id);
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