Commit 6ea7c379 by Alexandre Morin

Merge branch 'hotfix/2.0.10'

parents 15af0892 22250b37
......@@ -74,7 +74,7 @@ abstract class abstractPosition
$organizations[] = $organization;
}
if (!$setToken && !$currentOrg) {
if (!$setToken && !$currentOrg && $organizations) {
\laabs::setToken("ORGANIZATION", $organizations[0], 86400);
}
return $positions;
......
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 sign in to comment