1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

fix(migration): missing null value in provider

This commit is contained in:
Torsten Dittmann 2021-01-14 14:16:17 +01:00
parent d41ee76d36
commit 28d4552ee2

View file

@ -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]
}
}