Skip to content
Snippets Groups Projects
Commit 5471390f authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Another small uid/idx fix.

parent 2c7460d7
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,7 @@ if (!defined($opts{u})) {
print "Creating project in database...\n";
DBQueryFatal("insert into projects set pid='$protoproj', created=now(), " .
"name='$protoproj_desc', head_uid='$protouser', ".
"unix_gid=$gid,approved=1,pid_idx=$gid");
"head_idx=$uid, unix_gid=$gid,approved=1,pid_idx=$gid");
DBQueryFatal("insert into project_stats set ".
"pid='$protoproj',pid_idx=$gid");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment