fix(migration): missing null value in provider
This commit is contained in:
parent
d41ee76d36
commit
28d4552ee2
|
@ -44,7 +44,7 @@ class V06 extends Migration
|
|||
break;
|
||||
case Database::SYSTEM_COLLECTION_PROJECTS:
|
||||
foreach ($providers as $key => $provider) {
|
||||
if ($document->getAttribute('usersOauth' . \ucfirst($key) . 'Secret')) {
|
||||
if ($document->getAttribute('usersOauth' . \ucfirst($key) . 'Secret', null)) {
|
||||
//TODO: take care of filter ['encrypt]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue