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 5e5903db authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to previous revision.

parent e07f7213
......@@ -469,7 +469,8 @@ if (!isset($create)) {
# time the user instantiated in it).
#
if ($this_user && count($projlist)) {
if (array_key_exists($profile->pid(), $projlist)) {
if (isset($profile) &&
array_key_exists($profile->pid(), $projlist)) {
$project = $profile->pid();
}
else {
......
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