Commit c4048538 authored by Mike Hibler's avatar Mike Hibler

Fix minor logic error in print.

parent 879bb1f8
......@@ -513,7 +513,8 @@ if ($localuser) {
fatal("Project provided does not exist");
}
if (!$project->AccessCheck($emulab_user, TB_PROJECT_CREATEEXPT)) {
fatal("No permission to create experiments in project $pid");
fatal("No permission to create experiments in project ".
$project->pid());
}
$pid = $project->pid();
}
......
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